:root { color-scheme: light; --bg:#eef2f1; --surface:#fff; --surface-2:#e5ecea; --text:#152522; --muted:#526b66; --line:#cfddda; --accent:#007d67; --blue:#dcebec; --shadow:0 12px 40px #183c3110; }
body.dark-mode { color-scheme:dark; --bg:#0c1414; --surface:#14201f; --surface-2:#1a2b28; --text:#e8f1ed; --muted:#a1b7b0; --line:#2d423c; --accent:#82d9af; --blue:#1a3633; --shadow:0 12px 40px #0002; }
* , *::before, *::after { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--bg); color:var(--text); font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size:16px; line-height:1.6; }
a { color:inherit; }
:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }
.site-header, .container-pusat, .site-footer { width:min(100% - 64px, 1320px); margin-inline:auto; }
.has-social-sidebar .site-header, .has-social-sidebar .container-pusat, .has-social-sidebar .site-footer { width:min(100% - 128px, 1320px); }
.site-header { min-height:96px; display:flex; align-items:center; gap:40px; border-bottom:1px solid var(--line); }
.brand { display:flex; gap:12px; align-items:center; text-decoration:none; font-size:13px; font-weight:800; letter-spacing:.12em; line-height:1.3; }
.brand small { display:block; color:var(--muted); font-size:10px; font-weight:600; letter-spacing:.13em; }
.brand-mark { font-size:32px; letter-spacing:-.1em; line-height:1; }.brand-mark span,.accent { color:var(--accent); }
.main-nav { display:flex; gap:32px; margin-left:auto; }.main-nav a { color:var(--muted); text-decoration:none; font-size:14px; font-weight:600; }.main-nav a:hover { color:var(--accent); }
button { font:inherit; cursor:pointer; }.tombol-floating { padding:10px 16px; border:1px solid var(--line); border-radius:6px; background:var(--surface); color:var(--text); font-size:14px; }
.container-pusat { padding:36px 0 110px; }.panel,.kartu-info,.kartu-proyek { background:var(--surface); border:1px solid var(--line); border-radius:8px; box-shadow:var(--shadow); }
.hero-grid { display:grid; grid-template-columns:1.75fr 1fr; gap:16px; }.hero-main { min-height:510px; padding:clamp(30px,5vw,76px); position:relative; display:flex; flex-direction:column; align-items:flex-start; overflow:hidden; background:linear-gradient(130deg,var(--surface),var(--blue)); }
.eyebrow,.card-label,.hero-foot,.site-footer,.side-head { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:11px; letter-spacing:.12em; font-weight:700; color:var(--muted); }
.eyebrow { display:flex; align-items:center; gap:12px; margin:0 0 22px; }.accent-line { width:27px; height:2px; background:var(--accent); }
h1,h2,h3,p { margin-top:0; }.hero-main h1 { margin:38px 0 20px; font-size:clamp(3.2rem,6vw,6rem); letter-spacing:-.065em; line-height:1.02; font-weight:700; }.hero-main h1 em { color:var(--accent); font-style:normal; }.hero-intro { max-width:560px; color:var(--muted); font-size:1.05rem; }.hero-intro strong { color:var(--text); }
.primary-link { display:inline-flex; gap:28px; align-items:center; margin:22px 0 56px; padding:13px 18px; background:var(--accent); color:var(--bg); border-radius:5px; font-size:14px; font-weight:750; text-decoration:none; }.hero-foot { width:100%; margin-top:auto; padding-top:19px; border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:15px; }
.hero-side { padding:32px; display:flex; flex-direction:column; overflow:hidden; }.side-head { display:flex; justify-content:space-between; align-items:center; }.side-symbol { color:var(--accent); font-size:25px; }.hero-side > p { font-size:1.45rem; line-height:1.35; letter-spacing:-.03em; margin:35px 0 24px; color:var(--muted); }.hero-side strong { color:var(--text); }.focus-list { display:flex; flex-wrap:wrap; gap:8px; }.focus-list span,.tag { border:1px solid var(--line); background:var(--surface-2); border-radius:4px; padding:5px 9px; font-size:12px; color:var(--text); }
.circuit { height:85px; margin-top:auto; position:relative; border-bottom:1px solid var(--line); background:repeating-linear-gradient(90deg,transparent 0 39px,var(--line) 40px,transparent 41px); opacity:.7; }.circuit::after { content:''; position:absolute; width:60%; height:38px; border:1px solid var(--accent); border-left:0; border-bottom:0; left:0; top:25px; }.circuit i { position:absolute; width:8px; height:8px; border-radius:50%; background:var(--accent); left:60%; top:21px; }
.section-block { padding-top:105px; scroll-margin-top:24px; }.section-heading { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:28px; }.section-heading .eyebrow { margin-bottom:9px; }.section-heading h2 { font-size:clamp(2rem,3.4vw,3rem); letter-spacing:-.05em; line-height:1.1; margin:0; }.section-heading > p { color:var(--muted); font-size:14px; max-width:260px; margin:0; }
.container-proyek { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }.kartu-proyek { padding:26px; min-height:265px; display:flex; flex-direction:column; transition:border-color .2s,transform .2s; }.kartu-proyek:hover { border-color:var(--accent); transform:translateY(-3px); }.kartu-proyek h3 { font-size:1.35rem; line-height:1.25; letter-spacing:-.03em; margin:0 0 10px; }.kartu-proyek > span { color:var(--accent); font-size:12px; font-family:ui-monospace,monospace; }.kartu-proyek p { color:var(--muted); font-size:14px; margin:16px 0; }.tag-container { display:flex; flex-wrap:wrap; gap:7px; margin:0 0 20px; }.kartu-proyek .tag-container { margin-top:auto; }.tombol-buka,.tombol-youtube,.tombol-jurnal { display:inline-block; color:var(--text); font-size:14px; font-weight:700; text-decoration:none; }.kartu-proyek .tombol-buka { border-top:1px solid var(--line); padding-top:16px; }.tombol-buka:hover,.tombol-youtube:hover,.tombol-jurnal:hover { color:var(--accent); }
.skill-wrapper { min-width:0; padding:20px; }
.skill-toggle { margin-bottom:14px; }
.skills-viewport { overflow-x:auto; }
.skills-viewport.marquee-active { overflow:clip; mask-image:linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent); }
.skill-track,.skill-group-set,.skill-group-cards { display:flex; width:max-content; }
.skill-group-set { flex:none; gap:12px; padding-right:12px; }
.skill-group-cards { gap:12px; }
.skill-group-title { margin:0 0 10px; color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.08em; }
.marquee-active .skill-track { animation:skills-scroll var(--skill-duration) linear infinite; }
.marquee-active:hover .skill-track,.marquee-active:focus-within .skill-track,.marquee-active .marquee-paused { animation-play-state:paused; }
@keyframes skills-scroll { to { transform:translateX(var(--skill-distance)); } }
.skill-card { min-width:110px; max-width:240px; padding:14px; background:var(--surface-2); border:1px solid var(--line); border-radius:5px; text-align:center; overflow-wrap:anywhere; }
.skill-icon { display:block; min-height:48px; color:var(--accent); font-size:40px; line-height:1.2; }
.skill-name { display:block; font-size:14px; font-weight:700; }
.disclosure summary { display:flex; align-items:center; gap:12px; cursor:pointer; list-style:none; }
.disclosure summary::-webkit-details-marker { display:none; }
.disclosure-heading { display:grid; flex:1; min-width:0; overflow-wrap:anywhere; }
.disclosure-chevron { color:var(--accent); transition:transform .2s; }
.disclosure[open] .disclosure-chevron { transform:rotate(180deg); }
.disclosure-body { padding:8px 0 0; white-space:pre-line; overflow-wrap:anywhere; }
.disclosure[open] .disclosure-body { animation:disclose .2s ease-out; }
@keyframes disclose { from { opacity:0; transform:translateY(-4px); } }
@media(prefers-reduced-motion:reduce) { .marquee-active .skill-track { animation:none; } }
.bento-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }.kartu-info { min-height:240px; padding:28px; }.card-label { display:flex; justify-content:space-between; border-bottom:1px solid var(--line); padding-bottom:18px; }.card-label i { color:var(--accent); font-size:14px; }.kartu-info h3 { font-size:1.45rem; letter-spacing:-.035em; margin:22px 0; }.timeline-item,.item-course { border-top:1px solid var(--line); padding:16px 0; color:var(--muted); font-size:14px; }.timeline-item b,.item-course b { color:var(--text); }.timeline-item p { margin:8px 0; }.item-course { display:flex; gap:14px; align-items:center; }.logo-instansi { width:40px; height:40px; object-fit:contain; background:white; border-radius:4px; padding:4px; }.course-grid { display:flex; flex-direction:column; }
.site-footer { min-height:100px; border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:20px; }.sosmed-container { position:fixed; left:12px; bottom:0; z-index:100; display:flex; flex-direction:column; align-items:center; gap:12px; width:40px; }.sosmed-container::after { content:""; width:2px; height:80px; background:var(--muted); opacity:.6; }.ikon-sosmed { color:var(--muted); font-size:20px; }.sosmed-container .ikon-sosmed { display:grid; place-items:center; width:40px; height:40px; transition:color .2s, transform .2s; }.sosmed-container .ikon-sosmed[href]:hover { color:var(--accent); transform:translateY(-3px); }.ikon-sosmed[aria-disabled="true"] { opacity:.55; cursor:default; }
/* Project detail */
.project-gallery { min-width:0; --gallery-main-height:clamp(420px, 33vw, 500px); --gallery-row-height:clamp(90px, 12vh, 130px); }
.gallery-controls { display:flex; align-items:center; justify-content:center; gap:14px; padding-bottom:10px; }
.gallery-controls[hidden], .gallery-controls button[hidden] { display:none; }
.gallery-controls-bottom { padding:10px 0 0; }
.gallery-controls button { min-width:44px; min-height:44px; border:1px solid var(--line); border-radius:6px; background:var(--surface); color:var(--text); font-size:20px; line-height:1; }
.gallery-controls button { display:grid; place-items:center; }
#gallery-up::before,#gallery-down::before { content:""; width:10px; height:10px; border-left:2px solid currentColor; border-top:2px solid currentColor; transform:translateY(3px) rotate(45deg); }
#gallery-down::before { transform:translateY(-3px) rotate(225deg); }
#gallery-toggle::before { content:""; width:4px; height:16px; border-left:3px solid currentColor; border-right:3px solid currentColor; box-sizing:content-box; }
#gallery-toggle[aria-pressed="true"]::before { width:0; height:0; border:7px solid transparent; border-left:11px solid currentColor; transform:translateX(5px); }
.gallery-controls button:hover { border-color:var(--accent); color:var(--accent); }
#gallery-position { color:var(--muted); font-size:13px; font-variant-numeric:tabular-nums; }
.gallery-viewport { height:calc(var(--gallery-main-height) + (var(--gallery-visible, 1) - 1) * (var(--gallery-row-height) + 14px)); overflow:hidden; }
.gallery-viewport.is-empty { height:auto; }
.gallery-track { display:flex; flex-direction:column; gap:14px; will-change:transform; }
.gallery-slide { position:relative; display:grid; place-items:center; flex:0 0 var(--gallery-row-height); height:var(--gallery-row-height); width:100%; overflow:hidden; padding:0; border:2px solid var(--line); border-radius:6px; background:var(--bg); color:var(--muted); filter:grayscale(1); opacity:.5; transition:flex-basis .5s ease, height .5s ease, filter .5s, opacity .5s, border-color .5s; }
.gallery-slide[data-order="0"] { flex-basis:var(--gallery-main-height); height:var(--gallery-main-height); filter:none; opacity:1; border-color:var(--accent); }
.gallery-slide[data-order="1"] { opacity:.75; }
.gallery-slide[data-order="2"] { opacity:.6; }
.gallery-slide img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.gallery-slide [hidden] { display:none; }
.gallery-image-placeholder,.gallery-placeholder { margin:0; padding:20px; color:var(--muted); text-align:center; font-size:14px; }
.gallery-slide:focus-visible { outline-offset:-4px; }
.gallery-slide[data-order="0"] { cursor:zoom-in; }
.gallery-slide[data-order="0"]::after { content:""; position:absolute; right:12px; top:12px; width:18px; height:18px; border:2px solid white; border-radius:50%; background:#0009; box-shadow:0 0 0 5px #0009; pointer-events:none; }
.gallery-slide[data-order="0"]::before { content:""; position:absolute; z-index:1; right:9px; top:29px; width:9px; height:2px; background:white; transform:rotate(45deg); pointer-events:none; }
.image-lightbox { position:fixed; inset:0; width:100%; height:100%; max-width:none; max-height:none; margin:0; padding:0; border:0; color:#fff; background:rgba(0,0,0,.9); overflow:hidden; }
.image-lightbox::backdrop { background:rgba(0,0,0,.75); }
.image-lightbox[open] { display:flex; align-items:center; justify-content:center; }
.lightbox-toolbar { position:absolute; z-index:2; top:8px; right:8px; left:8px; display:flex; justify-content:flex-end; align-items:center; gap:6px; }
.lightbox-toolbar span { margin-right:auto; padding:0 8px; font-variant-numeric:tabular-nums; }
.image-lightbox button { display:grid; place-items:center; min-width:44px; min-height:44px; padding:5px 10px; border:1px solid #ffffff80; border-radius:6px; background:#161d1be8; color:#fff; font-size:22px; line-height:1; }
.image-lightbox button[hidden] { display:none; }
.image-lightbox button:hover { background:#34594c; }
#lightbox-zoom-reset { font-size:14px; }
.lightbox-stage { display:flex; max-width:95vw; max-height:90vh; overflow:auto; overscroll-behavior:contain; touch-action:pan-x pan-y; }
.lightbox-stage img { display:block; flex:none; max-width:none; max-height:none; object-fit:contain; margin:auto; }
.lightbox-stage img[hidden], .lightbox-stage p[hidden] { display:none; }
.lightbox-stage p { margin:auto; padding:20px; }
.lightbox-arrow { position:absolute; z-index:1; top:50%; transform:translateY(-50%); }
.lightbox-prev { left:8px; } .lightbox-next { right:8px; }
@media(max-width:800px) { .lightbox-stage { max-height:82vh; } }

@media(max-width:800px) { .project-gallery { --gallery-main-height:clamp(220px, 72vw, 350px); --gallery-row-height:clamp(85px, 14vh, 120px); } }

.layout-golden { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:50px; }.kartu-profile { background:var(--surface); border:1px solid var(--line); border-radius:8px; padding:clamp(24px,5vw,60px); }.area-teks { min-width:0; overflow-wrap:anywhere; }.area-teks h1 { letter-spacing:-.04em; line-height:1.1; }.area-visual { min-width:0; align-self:start; background:var(--surface-2); padding:16px; border:1px solid var(--line); border-radius:6px; }.slider-container { position:relative; aspect-ratio:4/3; overflow:hidden; background:var(--bg); }.slide-img { width:100%; height:100%; object-fit:cover; display:none; }.slide-img.active { display:block; }.area-visual img { max-width:100%; }.area-visual a { padding:10px; border:1px solid var(--line); border-radius:4px; text-align:center; }
@media(max-width:800px) { .site-header,.container-pusat,.site-footer { width:min(100% - 36px,1320px); }.has-social-sidebar .site-header,.has-social-sidebar .container-pusat,.has-social-sidebar .site-footer { width:calc(100% - 76px); margin-left:60px; margin-right:16px; }.site-header { min-height:78px; gap:16px; flex-wrap:wrap; padding:15px 0; }.main-nav { order:3; width:100%; margin:0; justify-content:space-between; gap:12px; }.tombol-floating { margin-left:auto; }.hero-grid { grid-template-columns:1fr; }.hero-main { min-height:440px; }.hero-side { min-height:330px; }.container-proyek { grid-template-columns:repeat(2,minmax(0,1fr)); }.section-block { padding-top:72px; }.layout-golden { grid-template-columns:minmax(0,1fr); gap:25px; } }
@media(max-width:560px) { .sosmed-container { left:8px; width:36px; gap:6px; }.sosmed-container .ikon-sosmed { width:36px; height:36px; font-size:18px; }.sosmed-container::after { height:44px; } .hero-main { min-height:410px; padding:28px; }.hero-main h1 { font-size:clamp(2.6rem,12vw,4rem); }.hero-foot span:last-child { display:none; }.section-heading { align-items:start; flex-direction:column; gap:12px; }.container-proyek,.bento-grid { grid-template-columns:1fr; }.kartu-proyek { min-height:230px; }.site-footer { flex-wrap:wrap; padding:25px 0; }.site-footer > span:last-child { display:none; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }.skill-wrapper { overflow-x:auto; }.skill-track { animation:none; }.skill-track [aria-hidden="true"] { display:none; } }
.project-controls { display:flex; flex-wrap:wrap; gap:12px; align-items:end; margin-bottom:20px; }
.project-controls[hidden] { display:none; }
.project-controls label { display:grid; gap:4px; font-size:.875rem; }
.project-controls input,.project-controls select,.project-controls button,.skill-toggle { color:var(--text); background:var(--surface-2); border:1px solid var(--line); border-radius:5px; padding:8px; max-width:100%; }
.project-controls output { align-self:center; color:var(--muted); }
.project-cover { order:-2; position:relative; display:grid; place-items:center; aspect-ratio:16 / 10; background:var(--surface-2); border:1px solid var(--line); border-radius:5px; margin-bottom:16px; overflow:hidden; }
.project-cover img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.project-cover-placeholder { padding:10px; text-align:center; color:var(--muted); font-size:.875rem; }
.project-status { display:inline-block; width:fit-content; color:var(--accent); border:1px solid var(--line); border-radius:4px; padding:2px 6px; margin-bottom:8px; font-size:.75rem; }
.kartu-proyek .project-status { order:-1; }
.project-status[hidden] { display:none; }
.credential.item-course { display:block; }
.credential .disclosure-body a,.credential .disclosure-body button { display:inline-block; margin:0 8px 8px 0; }
.profile-contact { padding-bottom:40px; }
.profile-contact a { margin-right:12px; }
.profile-photo { border-radius:12px; object-fit:cover; margin-bottom:20px; }
.main-nav { flex-wrap:wrap; }
.main-nav a[aria-current] { color:var(--accent); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.language-choice select { color:var(--text); background:var(--surface-2); border:1px solid var(--line); border-radius:4px; padding:8px; }
.journal-entry { max-width:75ch; margin:18px 0 50px; line-height:1.75; overflow-wrap:anywhere; }
.journal-entry img { max-width:100%; height:auto; }
.journal-entry .project-cover img { height:100%; }
.journal-entry pre { overflow:auto; padding:16px; background:var(--surface-2); border:1px solid var(--line); }
.journal-entry table { display:block; overflow:auto; border-collapse:collapse; }
.journal-entry td,.journal-entry th { padding:8px; border:1px solid var(--line); }
.journal-meta { color:var(--muted); font-size:.875rem; }
.journal-card[hidden] { display:none; }
#github-activity { padding-bottom:40px; }
@supports (interpolate-size: allow-keywords) {
  .disclosure { interpolate-size:allow-keywords; }
  .disclosure::details-content { block-size:0; overflow:clip; transition:block-size .2s ease,content-visibility .2s allow-discrete; }
  .disclosure[open]::details-content { block-size:auto; }
  .disclosure[open] .disclosure-body { animation:none; }
}
