:root {
  --bg: #f7e8dd;
  --sheet: #fbf7f2;
  --ink: #1e1d1b;
  --muted: #47443f;
  --blue: #93a3ea;
  --teal: #3f9583;
  --yellow: #f3c94b;
  --pink: #ec95df;
  --green: #7fe08f;
  --red: #e4472f;
  --line: 3px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --display: "Archivo Black", "Arial Black", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  overflow-x: hidden;
}

a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }

/* ---------- Bentuk dekoratif ---------- */
.deco svg {
  position: absolute;
  width: 150px;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linejoin: round;
  filter: drop-shadow(5px 5px 0 var(--ink));
  z-index: 0;
}
.deco-1 { top: 340px; left: -40px; fill: var(--teal); transform: rotate(-30deg); }
.deco-2 { top: 620px; right: -50px; fill: var(--blue); }
.deco-3 { top: 1080px; left: -30px; fill: var(--pink); width: 170px !important; }
.deco-3 path { stroke-width: 5; stroke-linecap: round; fill: none; }
.deco-4 { top: 1700px; right: -40px; fill: var(--yellow); transform: rotate(20deg); }

/* ---------- Lembar utama ---------- */
.sheet {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 40px auto;
  padding: 28px clamp(16px, 5vw, 64px) 40px;
  background: var(--sheet);
  border: var(--line);
  border-radius: 40px;
}

/* ---------- Navigasi ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--blue);
  font: 15px/1 var(--display);
}
.nav nav { display: flex; gap: 32px; }
.nav nav a { text-decoration: none; font-weight: 600; }
.nav nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px 10px 12px;
  border: var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font: 18px/1 var(--display);
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.pill-pink { background: var(--pink); }
.dot { width: 22px; height: 22px; border-radius: 50%; background: var(--red); border: 3px solid #fff; outline: 2px solid var(--ink); }
.pill:hover, .btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 64px 0 40px;
}
.eyebrow { margin: 0 0 12px; color: var(--muted); font-weight: 600; }
/* ukuran judul mengikuti lebar kolom supaya "DEVELOPER" muat satu baris */
.hero-text { container-type: inline-size; }
.hero h1 {
  margin: 0;
  font: clamp(38px, 13.2cqi, 104px)/.95 var(--display);
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.sub { margin: 18px 0 10px; font: clamp(20px, 2.4vw, 28px)/1.25 var(--display); }
.intro { margin: 0 0 28px; max-width: 46ch; color: var(--muted); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border: var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.btn-yellow { background: var(--yellow); }
.btn-plain { background: var(--sheet); }

.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 460px);
  aspect-ratio: 1 / 1.08;
}
.blob {
  position: absolute;
  inset: 8% 14% 14% 6%;
  background: var(--pink);
  border: var(--line);
  border-radius: 28px;
  transform: rotate(-5deg);
}
/* drop-shadow mengikuti bentuk clip-path di dalamnya */
.shot {
  position: absolute;
  inset: 12% 18% 0 12%;
  filter: drop-shadow(6px 6px 0 var(--ink));
}
.frame {
  height: 100%;
  padding: 4px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 30%;
  filter: grayscale(1) contrast(1.08) brightness(1.08);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
}

.vert {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font: clamp(38px, 5vw, 56px)/1 var(--display);
  letter-spacing: -.08em;
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 3px 3px 0 var(--ink);
}
.tag {
  position: absolute;
  top: 2%;
  left: 26%;
  padding: 6px 16px;
  border: var(--line);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font: 18px/1 var(--display);
  transform: rotate(-6deg);
}
.tag-blue { background: var(--blue); }

.sticker {
  position: absolute;
  stroke: var(--ink);
  stroke-width: 3;
  filter: drop-shadow(4px 4px 0 var(--ink));
}
.s-code { width: 120px; top: 18%; left: -8%; transform: rotate(-4deg); }
.s-brace { width: 92px; bottom: 16%; left: -2%; }
.s-cursor { width: 50px; top: 4%; right: 22%; transform: rotate(10deg); }

.badge {
  position: absolute;
  right: 4%;
  bottom: 5%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 10px;
  background: var(--green);
  border: var(--line);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  font: 16px/1 var(--display);
}
.badge svg { width: 24px; stroke: var(--ink); }
.badge svg circle { stroke-width: 2; }

/* ---------- Blok umum ---------- */
.block { padding-top: 88px; scroll-margin-top: 16px; }
.h2 {
  margin: 0 0 10px;
  font: clamp(30px, 4.6vw, 52px)/1.05 var(--display);
  letter-spacing: -.01em;
  text-wrap: balance;
}
#layanan .h2, #layanan .lede, #proyek .h2, #proyek .lede, #perkakas .h2, #perkakas .lede { text-align: center; }
.lede { margin: 0 auto 36px; max-width: 56ch; color: var(--muted); }

.card {
  background: #fff;
  border: var(--line);
  border-radius: 20px;
  padding: 24px;
}
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.services h3 { margin: 0; font: 22px/1.15 var(--display); text-transform: uppercase; }
.services p { margin: 0; color: var(--muted); }
.icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 64px;
  border: var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.icon svg { width: 48px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.icon svg rect, .icon svg ellipse { fill: rgba(255,255,255,.55); }
.icon-blue { background: var(--blue); }
.icon-teal { background: var(--teal); }
.icon-yellow { background: var(--yellow); }

/* ---------- Pengalaman ---------- */
#pengalaman .h2, #pengalaman .lede { text-align: center; }
.jobs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.job {
  background: #fff;
  border: var(--line);
  border-radius: 16px;
  padding: 18px 20px;
}
.job-now { background: var(--green); box-shadow: var(--shadow); }
.when { font-size: 14px; font-weight: 800; color: var(--muted); }
.job-now .when { color: var(--ink); }
.job h3 { margin: 6px 0 2px; font: 20px/1.2 var(--display); }
.job p { margin: 0; font-weight: 600; }
.job .where { font-size: 14px; font-weight: 400; color: var(--muted); }

/* ---------- Proyek ---------- */
.projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.project {
  background: #fff;
  border: var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.project:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.chrome {
  display: flex;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: var(--line);
  background: var(--blue);
}
.project:nth-child(4n+2) .chrome { background: var(--pink); }
.project:nth-child(4n+3) .chrome { background: var(--yellow); }
.project:nth-child(4n+4) .chrome { background: var(--green); }
.chrome i { width: 11px; height: 11px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; }
.project img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border-bottom: var(--line);
}
.p-body { padding: 14px 16px 18px; }
.p-body h3 { margin: 0 0 4px; font: 18px/1.2 var(--display); }
.p-body p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ---------- Aplikasi internal ---------- */
.vault {
  background: var(--yellow);
  border: var(--line);
  border-radius: 28px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 40px;
}
.vault-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.vault-head .h2 { margin: 0; }
.vault > p { margin: 12px 0 24px; max-width: 60ch; }
.lock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border: var(--line);
  border-radius: 999px;
  font-weight: 800;
  transform: rotate(3deg);
}
.lock svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 2.4; }
.apps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.apps li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: var(--sheet);
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-weight: 600;
}
.apps b { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }

/* ---------- Perkakas ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 10px 20px;
  border: var(--line);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 800;
  background: #fff;
}
.chips li:nth-child(5n+1) { background: var(--blue); }
.chips li:nth-child(5n+2) { background: var(--yellow); }
.chips li:nth-child(5n+3) { background: var(--pink); }
.chips li:nth-child(5n+4) { background: var(--green); }
.chips li:nth-child(odd) { transform: rotate(-2deg); }
.chips li:nth-child(3n) { transform: rotate(2deg); }

/* ---------- Kontak ---------- */
.contact {
  text-align: center;
  background: var(--pink);
  border: var(--line);
  border-radius: 28px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(32px, 6vw, 64px) 20px;
}
.contact > p { margin: 0 auto 28px; max-width: 48ch; }
.btn-big { font: clamp(18px, 2.4vw, 24px)/1.2 var(--display); padding: 16px 30px; }
.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 800;
}
.socials a { text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---------- Kaki ---------- */
.foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 64px;
  padding-top: 20px;
  border-top: var(--line);
  font-size: 15px;
  color: var(--muted);
}
.foot p { margin: 0; }
.foot a { font-weight: 800; color: var(--ink); }

/* ---------- Layar kecil ---------- */
@media (max-width: 1340px) { .deco { display: none; } }

@media (max-width: 960px) {
  .nav nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .services, .projects, .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .sheet { margin: 12px 8px; border-radius: 24px; padding: 18px 16px 28px; }
  .brand span:last-child { display: none; }
  .brand { padding: 6px; }
  .pill { font-size: 16px; padding: 8px 16px 8px 10px; }
  .services, .jobs { grid-template-columns: 1fr; }
  .actions { flex-wrap: nowrap; gap: 12px; }
  .actions .btn { flex: 1; text-align: center; padding: 13px 6px; font-size: 15px; white-space: nowrap; }
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .apps li { flex-direction: column; justify-content: flex-start; gap: 2px; padding: 10px 12px; font-size: 15px; line-height: 1.3; }
  /* proyek tetap 2 kolom ringkas supaya daftar tidak terlalu panjang */
  .projects { gap: 16px 14px; }
  .project { border-width: 2px; border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); }
  .chrome { padding: 6px 8px; gap: 4px; border-bottom-width: 2px; }
  .chrome i { width: 8px; height: 8px; border-width: 1.5px; }
  .project img { border-bottom-width: 2px; }
  .p-body { padding: 10px 10px 12px; }
  .p-body h3 { font-size: 14px; }
  .p-body p { font-size: 13px; line-height: 1.4; }
  .block { padding-top: 64px; }
  .vault { padding: 24px 20px; }
  .s-code { width: 88px; left: -4%; }
  .s-brace { width: 70px; }
  .badge { font-size: 14px; }
  .vert { font-size: 30px; -webkit-text-stroke-width: 1.5px; text-shadow: 2px 2px 0 var(--ink); }
  .card { padding: 18px; }
  .card-head { gap: 12px; }
  .icon { width: 60px; height: 52px; }
  .icon svg { width: 38px; }
  .services h3 { font-size: 18px; }
}
