:root {
  --w: #ffffff; --k: #0b0b0b; --g: #6b6b6b; --l: #e4e4e4; --dl: #2b2b2b;
  --f: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--w); color: var(--k); font: 400 1.0625rem/1.6 var(--f); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: clamp(1.25rem, 5vw, 3rem); padding-right: clamp(1.25rem, 5vw, 3rem); }
.muted { color: var(--g); }
.dark { background: var(--k); color: var(--w); }

/* Navigasi */
.nav { position: sticky; top: 0; z-index: 10; background: var(--w); border-bottom: 1px solid var(--l); }
.nav-in { display: flex; justify-content: space-between; align-items: center; height: 60px; }
.logo { font-weight: 800; font-stretch: 125%; text-decoration: none; letter-spacing: -.02em; }
.nav nav { display: flex; gap: clamp(1rem, 3vw, 2rem); }
.nav nav a { text-decoration: none; font-weight: 500; }
.nav nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Hero */
.hero { padding-top: clamp(2rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 8vw, 6rem); }
h1 { margin: 0; font-weight: 800; font-stretch: 125%; font-size: min(16vw, 190px); line-height: .9; letter-spacing: -.045em; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: end; margin-top: clamp(2rem, 5vw, 3.5rem); }
.statement { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 1rem; max-width: 18ch; }
.intro .muted { max-width: 30rem; margin: 0 0 1.5rem; }
.links { display: flex; gap: 1.75rem; margin: 0; font-weight: 600; }
.links a { text-underline-offset: 6px; text-decoration-thickness: 2px; }
.links a:hover { text-decoration-thickness: 4px; }

/* Foto hitam putih */
.photo { position: relative; margin: 0; width: 100%; max-width: 340px; justify-self: end; aspect-ratio: 4 / 5; overflow: hidden; background: #d9d9d9; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out; }
.photo.moving { transition: transform .05s linear; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.15); }
.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; mix-blend-mode: multiply; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1.2 -.1'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.initial { display: none; }
.photo.no-photo { display: grid; place-items: center; background: var(--k); }
.photo.no-photo img { display: none; }
.photo.no-photo .initial { display: block; color: var(--w); font: 800 7rem var(--f); font-stretch: 125%; }

/* Section umum */
h2 { margin: 0 0 clamp(1.5rem, 4vw, 3rem); font-weight: 800; font-stretch: 125%; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -.03em; }
#skill { padding: clamp(3rem, 8vw, 6rem) 0; }
.row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1rem 3rem; padding: clamp(1.25rem, 3vw, 2rem) 0; border-top: 1px solid var(--dl); }
.row:last-child { border-bottom: 1px solid var(--dl); }
.row h3 { margin: 0; font-weight: 700; font-stretch: 112%; font-size: clamp(1.5rem, 3.2vw, 2.4rem); letter-spacing: -.02em; line-height: 1.1; }
.row p { margin: 0; color: #b9b9b9; max-width: 34rem; }

/* Kontak */
.contact { padding-top: clamp(3rem, 8vw, 6rem); overflow: hidden; }
.big { font-size: clamp(2.2rem, 7vw, 5.2rem); line-height: .98; max-width: 14ch; margin-bottom: 2rem; }
.mail { display: inline-block; font-size: clamp(1.15rem, 3.4vw, 2rem); font-weight: 600; letter-spacing: -.01em; text-underline-offset: 8px; text-decoration-thickness: 2px; word-break: break-all; }
.mail:hover { text-decoration-thickness: 5px; }
.socials { display: flex; gap: 1.75rem; margin: 1.5rem 0 0; color: #bdbdbd; }
.socials a:hover { color: var(--w); }

.road { margin-top: clamp(2.5rem, 6vw, 4rem); }
.car { display: block; width: min(440px, 78%); margin-left: clamp(1.25rem, 5vw, 3rem); }
.lane { height: 1px; background: var(--dl); margin-top: -1px; }
.wheel { transform-box: fill-box; transform-origin: center; }
.js .car { transform: translateX(-115vw); }
.js .car.go { transform: none; transition: transform 2.2s cubic-bezier(.15,.75,.2,1); }
.js .car.go .wheel { animation: spin 2.2s cubic-bezier(.15,.75,.2,1); }
@keyframes spin { from { transform: rotate(-1080deg); } to { transform: none; } }

.foot { border-top: 1px solid var(--dl); }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; padding-bottom: 2rem; color: #bdbdbd; }
.foot a:hover { color: var(--w); }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .photo { justify-self: start; max-width: 260px; }
  .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .car { transform: none; }
}

/* Galeri fotografi */
#foto { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(1rem, 3vw, 2rem); }
.cap-intro { margin: -1.25rem 0 2rem; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem) clamp(.75rem, 2vw, 1.5rem); }
.g { margin: 0; }
.g1 { grid-column: span 7; } .g2 { grid-column: span 5; }
.g3 { grid-column: span 5; } .g4 { grid-column: span 7; }
.shot { display: block; width: 100%; height: clamp(240px, 38vw, 470px); padding: 0; border: 0; background: #ddd; overflow: hidden; cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.shot:hover img { transform: scale(1.04); }
.g figcaption { margin-top: .6rem; font-size: .95rem; color: var(--g); }
#lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
#lb::backdrop { background: rgba(0, 0, 0, .92); }
#lb[open] { display: grid; place-items: center; }
#lb img { max-width: 92vw; max-height: 86vh; display: block; }
#lbClose { position: absolute; top: 1rem; right: 1rem; font: 600 1rem var(--f); color: #fff; background: transparent; border: 1px solid #fff; padding: .5rem 1rem; cursor: pointer; }
#lbClose:hover { background: #fff; color: #000; }
@media (max-width: 760px) {
  .g1, .g2, .g3, .g4 { grid-column: 1 / -1; }
  .shot { height: 72vw; }
}

/* Galeri desain */
#desain { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(3rem, 8vw, 6rem); }
.gallery.d { align-items: start; }
.d .shot { height: auto; background: #f3f3f3; }
.d .shot img { height: auto; object-fit: contain; }
.dg1, .dg2, .dg3 { grid-column: span 4; }
.dg4 { grid-column: 4 / span 6; }
@media (max-width: 760px) {
  .dg1, .dg2, .dg3, .dg4 { grid-column: 1 / -1; }
  .d .shot { height: auto; }
}
