*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      /* Dark pastel colors for animated background */
      /* --color-bg1: #0a0b12;
      --color-bg2: #141724;
      --color-bg3: #1a1525;
      --color-bg4: #0e1f15; */
      --color-bg1: #2d242b;
      --color-bg2: #24242d;
      --color-bg3: #242d2a;
      --color-bg4: #2d2624;
      --surface0:   rgba(17, 19, 24, 0);
      --surface1:   rgba(71, 71, 71, 0.696);
      --surface:   rgba(17, 19, 24, 0.55);
      --surface3:   rgba(17, 19, 24, 0.24);
      --surface2:  rgba(24, 27, 36, 0.85);
      --line:      rgba(255,255,255,0.06);
      --line2:     rgba(255,255,255,0.10);
      --gold:      #c9a96e;
      --gold1:      #c9a96e86;
      --gold2:     #e8c98d;
      --gold-dim:  rgba(201,169,110,0.08);
      --text:      #f0f1f5;
      /* --text2:     #787c8d; */
      --text2:     #9ea1ad;
      --text3:     #646876;
      --green:     #34d399;
      --blue:      #60a5fa;
      --purple:      #e560fa;
      --red:      #fa6060;
      --serif:     'Playfair Display', Georgia, serif;
      --sans:      'Geist', 'Inter', system-ui, sans-serif;
      --r:         10px;
      --nh:        64px;
    }

    html { cursor: none; } /* Scroll behavior diatur di container, bukan html */

    body {
      background: var(--color-bg1);
      color: var(--text);
      font-family: var(--sans);
      font-size: 14px; /* Sedikit dikecilkan agar padat di 1 layar */
      line-height: 1.6;
      overflow: hidden; /* Mencegah scroll default body */
      -webkit-font-smoothing: antialiased;
    }

    /* ── ANIMATED DARK PASTEL BACKGROUND ── */
    #bg-layer {
      position: fixed; inset: 0; z-index: 0;
      background: linear-gradient(-45deg, var(--color-bg1), var(--color-bg2), var(--color-bg3), var(--color-bg4));
      background-size: 400% 400%;
      animation: gradientBG 20s ease infinite;
    }
    @keyframes gradientBG {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    /* ── CURSOR REACTIVE GLOW ── */
    #bg-glow {
      position: fixed; inset: 0; z-index: 1;
      background: radial-gradient(circle 500px at var(--mx, 50%) var(--my, 50%), rgba(201,169,110, 0.1), transparent 80%);
      pointer-events: none; transition: background 0.1s ease;
    }

    /* ── PAGE WRAPPER & SCROLL SNAPPING (SLIDE EFFECT) ── */
    #page-clip {
      position: fixed; inset: 20px;
      border-radius: 16px; overflow: hidden;
      z-index: 5; height: calc(100vh - 40px); width: calc(100vw - 40px);
    }
    
    #page-scroll {
      position: absolute; inset: 0;
      overflow-y: scroll; overflow-x: hidden;
      scroll-snap-type: y mandatory; /* INI KUNCI EFEK SLIDE NYA */
      scrollbar-width: none; height: 100%;
      scroll-behavior: smooth;
    }
    #page-scroll::-webkit-scrollbar { display: none; }

    /* Noise overlay */
    body::after {
      content: ''; position: fixed; inset: 0;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
      pointer-events: none; z-index: 9999;
    }
    /* ── SLIDE LAYOUT (100VH TIAP SECTION) ── */
    .slide {
      position: relative; z-index: 2;
      height: 100vh; /* Memaksa 1 bagian = 1 layar */
      max-height: 100vh;
      scroll-snap-align: start; /* Magnet ke atas layar */
      display: flex; flex-direction: column; justify-content: center;
      padding: var(--nh) 0 1rem; 
      box-sizing: border-box;
    }
    .wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2rem); }

    /* ── CURSOR ── */
    .cursor { top: 0; left: 0; position: fixed; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; pointer-events: none; z-index: 10001; transform: translate(-50%, -50%); transition: width .2s, height .2s, background .2s, opacity .2s; mix-blend-mode: difference; }
    .cursor-ring { top: 0; left: 0; position: fixed; width: 32px; height: 32px; border: 1px solid rgba(201,169,110,0.5); border-radius: 50%; pointer-events: none; z-index: 10000; transform: translate(-50%, -50%); transition: width .35s ease, height .35s ease, border-color .2s; }
    .cursor.hover { width: 14px; height: 14px; background: var(--gold2); }
    .cursor-ring.hover { width: 52px; height: 52px; border-color: rgba(201,169,110,0.3); }
    @media (hover: none) { .cursor, .cursor-ring { display: none; } }
    * { cursor: none !important; }

    /* ── PROGRESS BAR ── */
    #bar { position: fixed; top: 0; left: 0; height: 1px; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold2), transparent); z-index: 9998; transition: width .12s linear; }

    /* ── NAV ── */
    .nav { position: fixed; top: 20px; left: 20px; right: 20px; height: var(--nh); z-index: 500; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(1.25rem, 5vw, 3.5rem); background: transparent; transition: background .6s, backdrop-filter .6s; border-radius: 16px 16px 0 0; }
    .nav.scrolled { background: rgba(10, 11, 18, 0.7); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
    .logo { font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--text); text-decoration: none; letter-spacing: .04em; position: relative; overflow: hidden; display: flex; gap: 2px;}
    .logo-sep { color: var(--gold); }
    .nav-list { display: flex; gap: .15rem; list-style: none; }
    .nav-list a { font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text3); text-decoration: none; padding: .38rem .8rem; border-radius: 6px; transition: color .2s, background .2s; }
    .nav-list a:hover, .nav-list a.on { color: var(--text2); background: var(--surface1); }
    .nav-cta { background: var(--gold) !important; color: #08090d !important; font-weight: 600 !important; }
    .nav-cta a:hover a.on { border-color: #c9a96e33; color: var(--gold); background: var(--gold-dim); }
    
    .hbg { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
    .hbg span { display: block; width: 20px; height: 1.5px; background: var(--text2); border-radius: 2px; }
    .drawer { position: fixed; top: calc(20px + var(--nh)); left: 20px; right: 20px; background: rgba(10,11,18,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); z-index: 490; padding: 1rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .3rem; transform: translateY(-120%); transition: transform .3s; pointer-events: none; border-radius: 0 0 16px 16px; }
    .drawer.show { transform: none; pointer-events: auto; }
    .drawer a { font-size: .8rem; font-weight: 500; color: var(--text2); text-decoration: none; padding: .7rem .25rem; border-bottom: 1px solid var(--line); }

    /* ── TYPOGRAPHY & BUTTONS ── */
    .eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .6rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
    .h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; font-style: italic; line-height: 1.1; color: var(--text); margin-bottom: 1.5rem; }
    
    .btn { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.2rem; border-radius: 8px; font-size: .8rem; font-weight: 500; text-decoration: none; border: none; transition: all .2s; }
    .btn-p { background: var(--gold); color: #08090d; }
    .btn-p:hover { background: var(--gold2); transform: translateY(-2px); }
    .btn-o { background: transparent; color: var(--text2); border: 1px solid var(--line2); }
    .btn-o:hover { border-color: rgba(255,255,255,.18); color: var(--text); transform: translateY(-2px); }

    .icon-btn { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line2); display: inline-flex; align-items: center; justify-content: center; color: var(--text3); font-size: 1rem; text-decoration: none; transition: all .25s; position: relative; overflow: hidden; }
    .icon-btn::after { content: ''; position: absolute; inset: 0; background: var(--gold-dim); transform: scale(0); transition: transform .3s ease; border-radius: inherit;}
    .icon-btn:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px) rotate(-3deg); }
    .icon-btn:hover::after { transform: scale(1); }

    /* ── SCROLL REVEAL ── */
    .r { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); will-change: opacity, transform; }
    .r.v { opacity: 1; transform: none; }

    /* ── SECTION 1: HERO ── */
    .hero-grid { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: center; }
    .avail { display: inline-flex; align-items: center; gap: .5rem; padding: .2rem .7rem; border: 1px solid rgba(52,211,153,.2); border-radius: 100px; background: rgba(52,211,153,.04); margin-bottom: 1rem; }
    .dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 2px rgba(52,211,153,.3); }
    .avail span { font-size: .65rem; color: var(--gold); font-weight: 500; }
    .hero-name { font-family: var(--serif); font-size: clamp(3rem, 7vw, 5rem); font-weight: 400; line-height: 1; letter-spacing: -.02em; margin-bottom: .2em; }
    .hero-name span:last-child { font-style: italic; color: var(--gold); }
    .hero-role { font-size: .85rem; color: var(--text2); margin: 1rem 0; line-height: 1.6; }
    .hero-role b { color: var(--text); }
    .chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: 1.5rem; }
    .chip { font-size: .65rem; padding: .2rem .6rem; border-radius: 100px; border: 1px solid var(--line2); color: var(--text3); }
    .chip:hover { border-color: #c9a96e33; color: var(--gold); background: var(--gold-dim); }
    .chip.hi { border-color: rgba(201,169,110,.3); color: var(--gold); background: var(--gold-dim); }
    .hero-act { display: flex; gap: .7rem; margin-bottom: 1.5rem; }
    
    .photo-col { position: relative; height: 340px; }
    .photo-frame { width: 100%; height: 100%; border-radius: 16px; overflow: hidden; background: var(--surface0); border: 1px solid var(--line2); }
    .photo-frame img {
      transition: all 0.4s ease-in-out;
      display: block;
    }

    .animate-effect {
      animation: zoomRotate 0.4s ease-in-out;
    }
    .wpm-modal { position: fixed; inset: 0; z-index: 9999; background: rgba(10, 11, 18, 0.85); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: all 0.3s ease; }
    .wpm-modal.open { opacity: 1; pointer-events: auto; }

    .wpm-content { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 2rem; width: 90%; max-width: 550px; position: relative; transform: translateY(30px); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 24px 64px rgba(0,0,0,0.6); }
    .wpm-modal.open .wpm-content { transform: translateY(0); }

    .wpm-close { position: absolute; top: 15px; right: 15px; background: var(--surface2); border: 1px solid var(--line2); color: var(--text2); font-size: 1.2rem; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; }
    .wpm-close:hover { border-color: var(--gold); color: var(--gold); transform: rotate(90deg); }
    .chipWpm { font-size: medium; padding: .2rem .6rem; border-radius: 100px; border: 1px solid var(--line2); color: var(--text3); }
    .btn-submit-name {
      background: var(--gold) !important;
      color: #141724 !important;
      border: 1px solid var(--gold) !important;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .btn-submit-name:hover {
      background: transparent !important;
      color: var(--gold) !important;
      box-shadow: 0 0 12px rgba(201, 169, 110, 0.4);
      transform: translateY(-2px);
    }

    .btn-cancel-name {
      background: transparent !important;
      color: #9ea1ad !important;
      border: 1px solid var(--line2) !important;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .btn-cancel-name:hover {
      background: rgba(239, 68, 68, 0.1) !important; /* Efek merah pastel transparan */
      color: #ef4444 !important;
      border-color: #ef4444 !important;
      transform: translateY(-2px);
    }

    #typInput:focus { border-color: var(--gold) !important; background: rgba(0,0,0,0.5); }

    /* ── CHATBOT WIDGET ── */
    .chat-fab { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; border-radius: 50%; background: var(--gold); color: #08090d; border: none; font-size: 1.5rem; cursor: pointer; z-index: 9991; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(201,169,110,0.3); transition: transform 0.2s; }
    .chat-fab:hover { transform: scale(1.1); }

    .chat-window { position: fixed; bottom: 90px; right: 30px; width: 320px; max-height: 500px; background: var(--surface2); border: 1px solid var(--line); border-radius: 12px; z-index: 9991; display: flex; flex-direction: column; overflow: hidden; transform: translateY(20px); opacity: 0; pointer-events: none; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 12px 24px rgba(0,0,0,0.5); backdrop-filter: blur(12px); }
    .chat-window.open { transform: translateY(0); opacity: 1; pointer-events: auto; }

    .chat-header { background: rgba(0,0,0,0.3); padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--gold); }
    .chat-header button { background: none; border: none; color: var(--text2); cursor: pointer; font-size: 1.2rem; }

    .chat-body { flex: 1; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; font-size: 0.8rem; scrollbar-width: none; -ms-overflow-style: none;  }
    .chat-msg { max-width: 85%; padding: 8px 12px; border-radius: 8px; line-height: 1.4; }
    .chat-msg.bot { background: var(--surface); border: 1px solid var(--line2); color: var(--text); align-self: flex-start; border-bottom-left-radius: 0; }
    .chat-msg.user { background: var(--gold-dim); border: 1px solid rgba(201,169,110,0.3); color: var(--gold); align-self: flex-end; border-bottom-right-radius: 0; }

    .chat-options { padding: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; background: rgba(0,0,0,0.2); }
    .chat-opt { background: var(--surface); border: 1px solid var(--line2); color: var(--text2); padding: 6px 10px; border-radius: 6px; text-align: left; font-size: 0.75rem; cursor: pointer; transition: all 0.2s; }
    .chat-opt:hover { border-color: var(--gold); color: var(--gold); }
    /* --- CHAT INPUT AREA --- */
    .chat-input-area {
      display: flex;
      padding: 10px 12px;
      border-top: 1px solid var(--line);
      background: rgba(0,0,0,0.3);
      gap: 8px;
    }
    .chat-input-area input {
      flex: 1;
      background: var(--surface);
      border: 1px solid var(--line2);
      color: var(--text);
      padding: 8px 12px;
      border-radius: 8px;
      outline: none;
      font-family: var(--sans);
      font-size: 0.75rem;
      transition: border-color 0.2s;
    }
    .chat-input-area input:focus {
      border-color: var(--gold);
    }
    .chat-input-area button {
      background: var(--gold);
      color: #08090d;
      border: none;
      border-radius: 8px;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 1.2rem;
      transition: transform 0.2s;
    }
    .chat-input-area button:hover {
      transform: scale(1.1);
    }
    .typing-indicator {
      display: flex;
      align-items: center;
      gap: 4px;
      padding: 10px;
    }

    .typing-indicator span {
      width: 6px;
      height: 6px;
      background: var(--gold);
      border-radius: 50%;
      animation: typing 1.4s infinite ease-in-out both;
    }

    .typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
    .typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

    @keyframes typing {
      0%, 80%, 100% { transform: scale(0); }
      40% { transform: scale(1); }
    }

    @keyframes zoomRotate {
      0% { transform: scale(1) rotate(0deg); }
      50% { transform: scale(1.1) rotate(5deg); }
      100% { transform: scale(1) rotate(0deg); }
    }
    /* .photo-frame spline-viewer { width: 100%; height: 100%; } */
    .yr-badge { position: absolute; top: -10px; right: -10px; width: 60px; height: 60px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line2); display: flex; flex-direction: column; align-items: center; justify-content: center; backdrop-filter: blur(8px); }
    .yr-badge strong { font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--gold); line-height: 1; }
    .yr-badge span { font-size: .5rem; color: var(--text3); letter-spacing: .1em; text-transform: uppercase; }

    .stats { display: flex; border: 1px solid var(--line); border-radius: var(--r); margin-top: 2rem; background: var(--surface3); backdrop-filter: blur(8px); border-color: var(--gold1); }
    .stats:hover { border-color: #c9a96e33; color: var(--gold); background: var(--gold-dim); transform: translateY(5px); transition: transform 1.1s cubic-bezier(.16,1,.3,1); }
    .stat { flex: 1; text-align: center; padding: 1.2rem; border-right: 1px solid var(--line); }
    .stat:last-child { border-right: none; }
    .stat-n { font-family: var(--serif); font-style: italic; font-size: 1.8rem; color: var(--gold); line-height: 1; }
    .stat-l { font-size: .7rem; color: var(--text2); margin-top: .2rem; }

    /* ── SECTION 2: ABOUT ── */
    .about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
    .prose p { color: var(--text2); font-size: .85rem; line-height: 1.8; margin-bottom: .8rem; font-weight: 300; }
    .prose p b { color: var(--text); font-weight: 500; }
    .callout { background: linear-gradient(135deg, rgba(201,169,110,.06), rgba(201,169,110,.02)); border: 1px solid rgba(201,169,110,.15); border-left: 2px solid var(--gold); border-radius: 0 8px 8px 0; padding: .8rem 1rem; margin-top: 1rem; font-size: .8rem; color: var(--text2); backdrop-filter: blur(4px); }
    .info-list { display: flex; flex-direction: column; gap: .5rem; }
    .info-item { display: flex; align-items: center; gap: .8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .7rem 1rem; backdrop-filter: blur(8px); transition: transform .2s; }
    .info-item:hover { border-color: rgba(201,169,110,.2); transform: translateX(5px); }
    .ico { width: 32px; height: 32px; flex-shrink: 0; border-radius: 8px; background: var(--gold-dim); display: flex; align-items: center; justify-content: center; font-size: .9rem; color: var(--gold); }
    .info-item h4 { font-size: .75rem; font-weight: 600; color: var(--text); }
    .info-item p  { font-size: .7rem; color: var(--text2); margin: 0; }

    /* ── SECTION 3: SKILLS ── */
    /* Badge standar */
    .badge {
      /* transition: all 0.3s ease; */
      transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
      background: var(--gold-dim);
      color: var(--gold);
      border: 1px solid rgba(201,169,110,.15);

      will-change: transform, box-shadow;
      transform: translateZ(0); 
      backface-visibility: hidden;
    }

    /* State Highlight (saat menyala) */
    .badge.highlight {
      background: var(--gold);
      color: #08090d;
      box-shadow: 0 0 12px var(--gold);
      transform: scale(1.05);
      border-color: var(--gold);

      transform: scale(1.05) translateZ(0); 
      border-color: var(--gold);
    }
    .sk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
    .sk-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; position: relative; overflow: hidden; backdrop-filter: blur(8px); transition: transform .2s; }
    .sk-card:hover { border-color: rgba(201,169,110,.2); transform: translateY(-4px); }
    .sk-head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
    .sk-ico { width: 32px; height: 32px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: .9rem; }
    .sk-card h3 { font-size: .85rem; font-weight: 600; color: var(--text); }
    .sk-list { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
    .sk-row { display: flex; align-items: center; justify-content: space-between; font-size: .75rem; }
    .sk-name { display: flex; align-items: center; gap: .4rem; color: var(--text2); }
    .badge { font-size: .55rem; padding: .1rem .4rem; border-radius: 100px; font-weight: 600; background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(201,169,110,.15); }
    .sk-bar-wrap { margin-top: 1rem; }
    .sk-bar-label { display: flex; justify-content: space-between; font-size: .65rem; color: var(--text3); margin-bottom: .2rem; }
    .sk-bar-track { height: 2px; background: rgba(255,255,255,0.05); border-radius: 2px; overflow: hidden; }
    .sk-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold2)); transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.16,1,.3,1); }
    .sk-bar-fill.v { transform: scaleX(1); }

    /* ── SECTION 4: WORKFLOW (Restructured for 1 Viewport) ── */
    .wf-grid { display: grid; grid-template-columns: 1fr 1.2fr 0.8fr; gap: 1.5rem; align-items:stretch; }
    .wf-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; backdrop-filter: blur(8px); display: flex; flex-direction: column; }
    .wf-card h3 { font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: .4rem; }
    .wf-card p  { color: var(--text2); font-size: .75rem; line-height: 1.6; font-weight: 300; margin-bottom: .8rem;}
    .pill-row { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: auto; }
    .pill { font-size: .6rem; padding: .1rem .4rem; border-radius: 100px; background: rgba(0,0,0,0.3); border: 1px solid var(--line2); color: var(--text2); }
    .pill:hover { border-color: #c9a96e33; color: var(--gold); background: var(--gold-dim); }
    
    .dash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
    .dash-grid img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); cursor: zoom-in; }
    
    .car-wrap { position: relative; width: 100%; height: 100%; min-height: 200px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); flex-grow: 1; display: flex; }
    .car-track { display: flex; height: 95%; width: 100%; transition: transform .4s ease; }
    .car-slide { min-width: 100%; height: 95%; display: flex; align-items: center; justify-content: center; }
    .car-slide img { width: 90%; height: 90%; object-fit: contain; align-items: center; justify-content: center; display: flex; }
    .car-ctrl { position: absolute; bottom: .5rem; left: 50%; transform: translateX(-50%); display: flex; gap: .3rem; }
    .car-btn { width: 26px; height: 26px; border-radius: 6px; background: rgba(8,10,15,.78); border: 1px solid rgba(255,255,255,.1); color: var(--text2); cursor: pointer; display: flex; align-items: center; justify-content: center; }
    .car-btn:hover { border-color: var(--gold); color: var(--gold); }
    .car-count { position: absolute; top: .5rem; right: .5rem; background: rgba(8,10,15,.75); color: var(--text2); padding: .1rem .4rem; border-radius: 4px; font-size: .6rem; border: 1px solid rgba(255,255,255,.08); }

    /* ── SECTION 5: PORTFOLIO (Compacted Grid) ── */
    .port-filters { display: flex; gap: .4rem; margin-bottom: 1.5rem; }
    .flt { padding: .2rem .7rem; border-radius: 100px; border: 1px solid var(--line2); background: transparent; color: var(--text2); font-size: .7rem; cursor: pointer; transition: all .15s; }
    .flt.on, .flt:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
    
    .port-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 1rem; }
    .w-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; backdrop-filter: blur(8px); display: flex; flex-direction: column; transition: transform .2s; min-height: 80%; }
    .w-card:hover { border-color: rgba(201,169,110,.2); transform: translateY(-3px); }
    .w-thumb { width: 100%; aspect-ratio: 16/6; object-fit: cover; background: rgba(0, 0, 0, 0); } /* Shorter aspect ratio to fit 2 rows */
    .w-empty { width: 100%; aspect-ratio: 16/6; background: var(--surface2); display: flex; align-items: center; justify-content: center; }
    .w-empty i { font-size: 1.6rem; color: var(--text3); }
    .w-body { padding: .4rem; display: flex; flex-direction: column; flex-grow: 1;}
    .w-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: .2rem; }
    .w-body h3 { font-size: .8rem; font-weight: 600; color: var(--text); }
    .w-tag { font-size: .55rem; padding: .1rem .4rem; border-radius: 4px; white-space: nowrap; }
    .t-web    { background: rgba(96,165,250,.1); color: var(--blue); }
    .t-design { background: rgba(52,211,153,.1); color: var(--green); }
    .t-mobile { background: var(--gold-dim); color: var(--gold); }
    .w-body p { font-size: .7rem; color: var(--text2); margin-bottom: .6rem; line-height: 1.5; }
    .w-link { font-size: .7rem; color: var(--gold); text-decoration: none; margin-top: auto; display: inline-flex; align-items: center; gap: .2rem;}
    .w-card.hidden { display: none; }

    /* ── SECTION 6: CONTACT & FOOTER ── */
    .contact-wrap { height: 90%; display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 0; }
    .ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 1rem; }
    .ct-lead { font-size: .85rem; color: var(--text2); line-height: 1.8; margin-bottom: 1.5rem; }
    .ct-list { display: flex; flex-direction: column; gap: .5rem; }
    .ct-item { display: flex; align-items: center; gap: .8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .7rem 1rem; text-decoration: none; backdrop-filter: blur(8px); transition: transform .2s; }
    .ct-item:hover { border-color: rgba(201,169,110,.2); transform: translateX(5px); }
    .ct-ico { width: 32px; height: 32px; border-radius: 8px; background: var(--gold-dim); display: flex; align-items: center; justify-content: center; font-size: .9rem; color: var(--gold); }
    .ct-item h4 { font-size: .75rem; color: var(--text); }
    .ct-item span { font-size: .7rem; color: var(--text2); }

    .form { display: flex; flex-direction: column; gap: .6rem; }
    .fg input, .fg textarea { background: var(--surface); border: 1px solid var(--line2); border-radius: 8px; padding: .6rem .8rem; color: var(--text); font-family: var(--sans); font-size: .8rem; outline: none; width: 100%; transition: border-color .2s; }
    .fg input:focus, .fg textarea:focus { border-color: rgba(201,169,110,.3); background: var(--surface2); }
    .fg textarea { resize: none; min-height: 100px; }
    #form-ok { font-size: .75rem; color: var(--green); display: none; margin-top: .2rem; }

    .footer { border-top: 1px solid var(--line); padding: 2.0rem 0; width: 100%; margin-top: 2rem;}
    .ft-inner { display: flex; align-items: center; justify-content: space-between; }
    .ft-logo { font-size: .8rem; font-weight: 600; color: var(--text2); }
    .ft-logo span { color: var(--gold); }
    .ft-copy { font-size: .65rem; color: var(--text3); }
    .ft-social { display: flex; gap: .3rem; }
    [data-tooltip] {
      position: relative;
    }

    /* Tooltip Text */
    [data-tooltip]::after {
      content: attr(data-tooltip);
      position: absolute;
      bottom: 125%; /* Posisi di atas */
      left: 50%;
      transform: translateX(-50%);
      padding: 6px 10px;
      background: var(--surface2);
      border: 1px solid var(--line);
      color: var(--text);
      font-size: 0.7rem;
      border-radius: 6px;
      white-space: nowrap;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.2s, visibility 0.2s;
      pointer-events: none;
      z-index: 1000;
    }

    /* Tooltip Arrow */
    [data-tooltip]::before {
      content: '';
      position: absolute;
      bottom: 105%;
      left: 50%;
      transform: translateX(-50%);
      border-width: 5px;
      border-style: solid;
      border-color: var(--line) transparent transparent transparent;
      opacity: 0;
      transition: opacity 0.2s;
    }

    /* Hover Effect */
    [data-tooltip]:hover::after, [data-tooltip]:hover::before {
      opacity: 1;
      visibility: visible;
    }

    /* ── LIGHTBOX ── */
    .lb { position: fixed; inset: 0; z-index: 9990; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; cursor: zoom-out; animation: lbFade .2s ease; }
    @keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
    .lb img { max-width: 90vw; max-height: 90vh; border-radius: 8px; box-shadow: 0 24px 64px rgba(0,0,0,.6); animation: lbScale .3s ease; }
    @keyframes lbScale { from { transform: scale(0.85); } to { transform: none; } }

    /* ── CINEMA REEL FRAME ── */
    .cinema-frame { position: fixed; inset: 20px; border-radius: 16px; border: 1.5px solid rgba(201,169,110,0.22); pointer-events: none; z-index: 9990; }
    .cinema-holes { position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-around; padding: 24px 0; }
    .cinema-holes-left  { left: -16px; }
    .cinema-holes-right { right: -16px; }
    /* .cinema-holes span { display: block; width: 10px; height: 14px; background: #080a0f; border: 1px solid rgba(201,169,110,0.18); border-radius: 2px; } */
    .cinema-frame::before, .cinema-frame::after { content: ''; position: absolute; width: 22px; height: 22px; border-color: var(--gold); border-style: solid; opacity: 0.6; }
    .cinema-frame::before { top: -2px; left: -2px; border-width: 2px 0 0 2px; border-radius: 16px 0 0 0; }
    .cinema-frame::after { bottom: -2px; right: -2px; border-width: 0 2px 2px 0; border-radius: 0 0 16px 0; }
    .cinema-vignette { position: absolute; inset: 0; border-radius: 14px; background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.55) 100%); }
    .cinema-scanline { position: absolute; inset: 0; border-radius: 14px; background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.025) 3px, rgba(0,0,0,0.025) 4px); animation: scanMove 8s linear infinite; }
    @keyframes scanMove { 0% { background-position: 0 0; } 100% { background-position: 0 200px; } }
    .cinema-label-top, .cinema-label-bottom { position: absolute; left: 50%; transform: translateX(-50%); font-family: var(--sans); font-size: .45rem; letter-spacing: .2em; color: rgba(201,169,110,0.4); white-space: nowrap; }
    .cinema-label-top    { top: -14px; }
    .cinema-label-bottom { bottom: -14px; }
    /* ── RESPONSIVE ── */
    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr 280px; gap: 2rem; }
      .photo-col { height: 280px; }
      .sk-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem;}
      .wf-grid { grid-template-columns: 1fr 1fr; }
      .wf-grid .wf-card:nth-child(3) { grid-column: span 2; }
      .port-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
    }
    @media (max-width: 768px) {
      html, body { cursor: none; overflow: visible; height: auto; scroll-behavior: smooth;}
      .port-header-row { flex-direction: column; align-items: flex-start; gap: .75rem; }
      #page-clip {
        position: static;
        inset: auto;
        height: auto;
        width: auto;
        overflow: visible;
        border-radius: 0;
      }
      #page-scroll {
        position: static;
        inset: auto;
        height: auto;
        overflow: visible;
        scroll-snap-type: none;
      }
      #page-scroll::-webkit-scrollbar {display: none; }
      html, body { cursor: none; overflow: visible; height: auto; scroll-behavior: smooth; }
      html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
      html { scrollbar-width: none; -ms-overflow-style: none; }
      body { scrollbar-width: none; -ms-overflow-style: none; }

      .cinema-frame, .cinema-vignette, .cinema-scanline, .cinema-holes { display: none; }
      #bg-layer, #bg-glow { position: fixed; }



      .slide {
        height: auto; min-height: 100svh; max-height: none;
        scroll-snap-align: none;
        display: block; /* stop flex-centering from causing overlap with tall content */
        padding: calc(var(--nh) + 28px) 0 2.75rem;
      }
      .wrap { padding: 0 1.1rem; }

      .nav { position: fixed; top: 10px; left: 10px; right: 10px; padding: 0 1.1rem; background-color: var(--surface2); }
      .nav-list { display: none; }
      .hbg { display: flex; }
      .drawer { top: calc(10px + var(--nh)); left: 10px; right: 10px; }

      /* HERO */
      .hero-grid, .about-grid, .wf-grid, .ct-grid { grid-template-columns: 1fr; gap: 1.5rem; }
      .hero-name { font-size: clamp(2.4rem, 11vw, 3.2rem); }
      .hero-role { font-size: .8rem; }
      .photo-col { order: -1; height: 280px; max-width: 280px; margin: 0 auto 1.25rem; width: auto; height: auto;}
      /* .photo-frame { width: 100%; height: auto; border-radius: 16px; overflow: hidden; background: var(--surface0); border: 1px solid var(--line2); } */
      .hero-act { flex-wrap: wrap; }
      .hero-act .btn { flex: 1 1 auto; justify-content: center; }

      .stats { flex-direction: column; margin-top: 1.75rem; }
      .stat { border-right: none; border-bottom: 1px solid var(--line); padding: .9rem; }
      .stat:last-child { border-bottom: none; }

      /* ABOUT */
      .about-grid { gap: 1.5rem; }
      .info-list { gap: .5rem; margin-top: .5rem; }

      /* SKILLS */
      .sk-grid { grid-template-columns: 1fr 1fr; gap: .65rem; }
      .sk-card { padding: 1rem; }
      .sk-list { gap: .35rem; }

      /* WORKFLOW — stack into single column, let it flow naturally */
      .wf-grid { grid-template-columns: 1fr; gap: 1rem; }
      .wf-grid .wf-card:nth-child(3) { grid-column: auto; }
      .wf-grid > div:first-child { display: flex; flex-direction: column; gap: 1rem; }
      .dash-grid { grid-template-columns: repeat(2, 1fr); gap: .4rem; }
      .car-wrap { min-height: 220px; }

      /* PORTFOLIO */
      .port-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: .85rem; }
      .port-header-row { display:flex; justify-content:space-between; align-items:flex-end; }
      .port-filters { flex-wrap: wrap; }
      .w-thumb, .w-empty { aspect-ratio: 16/10; }

      /* portfolio header row wraps on small screens */
      section#portfolio .wrap > div:first-of-type { flex-direction: column; align-items: flex-start; gap: .75rem; }

      /* CONTACT */
      .contact-wrap { height: auto; display: block; }
      .ct-grid { gap: 1.5rem; margin-top: 1.5rem; }
      .footer { margin-top: 2rem; padding: 1.5rem 0; }
      .ft-inner { flex-direction: column; gap: .75rem; text-align: center; }
    }

    @media (hover: none) {
      #bg-glow { background: radial-gradient(circle 600px at 50% 30%, rgba(201,169,110, 0.06), transparent 80%); }
    }

    @media (max-width: 480px) {
      .nav { top: 10px; left: 10px; right: 10px; padding: 0 .9rem; height: 56px; }
      .drawer { top: calc(10px + 56px); left: 10px; right: 10px; }
      .slide { padding: calc(56px + 24px) 0 2.25rem; }
      .wrap { padding: 0 .9rem; }

      .hero-name { font-size: clamp(2.1rem, 12vw, 2.7rem); }
      .photo-col { height: 190px; }
      .chips { gap: .25rem; }
      .chip { font-size: .6rem; padding: .18rem .5rem; }

      .sk-grid { grid-template-columns: 1fr; }
      .dash-grid { grid-template-columns: 1fr; }
      .h2 { font-size: clamp(1.5rem, 7vw, 1.9rem); }
    }

    /* ── LAYOUT STATS WAKATIME & GITHUB ── */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}

.stats-left {
  flex: 1.4;
  min-width: 320px;
}

.stats-right {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── PERBAIKAN KHUSUS LAYAR HP (MOBILE) ── */
@media (max-width: 768px) {
  /* Kurangin padding modal & kasih efek scroll biar ga kepotong */
  .wpm-modal .wpm-content {
    padding: 1.2rem;
    width: 92%;
    max-height: 85vh; /* Bikin modalnya bisa di-scroll dalemnya */
    overflow-y: auto;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  #wpm-modal::-webkit-scrollbar {display: none; }
  html, body { cursor: none; overflow: visible; height: auto; scroll-behavior: smooth; }
  html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
  html { scrollbar-width: none; -ms-overflow-style: none; }
  body { scrollbar-width: none; -ms-overflow-style: none; }
  
  /* Bikin gambarnya numpuk lurus ke bawah (100% width) */
  .stats-left, 
  .stats-right {
    min-width: 100%;
    flex: 1 1 100%;
  }

  /* Kecilin dikit text intro di HP */
  #expModal p {
    font-size: 0.75rem !important;
    margin-bottom: 1rem !important;
  }
}