*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0818;
  --bg2: #100e22;
  --card: #13102b;
  --accent: #7b5cf5;
  --accent-light: #a78bfa;
  --pink: #e879f9;
  --white: #ece9ff;
  --muted: #6d6882;
  --muted2: #b0aac8;
  --border: rgba(124,92,252,0.18);
  --accent: #7c5cfc;
  --accent2: #ff4ecd;
}

/* ── LOADER OVERLAY ── */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #050410;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
 
  /* Fase akhir: slide up keluar */
  transition: clip-path 0.9s cubic-bezier(0.77, 0, 0.175, 1) 0.3s,
              opacity 0.5s ease 1.1s;
  clip-path: inset(0 0 0 0);
}
 
#page-loader.done {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  pointer-events: none;
}
 
/* ── Noise texture overlay di loader ── */
#page-loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 150px;
  opacity: 0.35;
  pointer-events: none;
}
 
/* ── Glow orb di background loader ── */
#page-loader::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,252,0.18) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: loaderOrb 3s ease-in-out infinite alternate;
}
 
@keyframes loaderOrb {
  from { transform: translate(-50%, -50%) scale(1); }
  to   { transform: translate(-50%, -50%) scale(1.15); }
}
 
/* ── INNER content ── */
.loader-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}
 
/* ── Monogram / logo kecil ── */
.loader-monogram {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  background: linear-gradient(135deg, #beadf2, #e879f9, #a78bfa ); 
  background-size: 200%; 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 2.5s linear infinite;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}
 
.loader-monogram.visible {
  opacity: 1;
  transform: translateY(0);
}
 
@keyframes shimmerText {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
 
/* ── Welcome text ── */
.loader-welcome {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}
 
.loader-welcome.visible {
  opacity: 1;
  transform: translateY(0);
}
 
/* ── Progress container ── */
.loader-progress-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.5s ease 0.7s;
}
 
.loader-progress-wrap.visible {
  opacity: 1;
}
 
/* ── Counter number ── */
.loader-counter {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 100;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #fff;
  position: relative;
  min-width: 5ch;
  text-align: center;
}
 
.loader-counter .pct-symbol {
  font-size: 2rem;
  vertical-align: super;
  color: var(--accent-light, #a78bfa);
  margin-left: 2px;
}
 
/* ── Progress bar ── */
.loader-bar-track {
  width: 260px;
  height: 2px;
  background: rgba(167,139,250,0.15);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
 
.loader-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c5cfc, #e879f9);
  transition: width 0.04s linear;
  position: relative;
  box-shadow: 0 0 12px rgba(124,92,252,0.8);
}
 
/* Kila di ujung bar */
.loader-bar-fill::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff, 0 0 16px var(--accent-light, #a78bfa);
}
 
/* ── Tagline di bawah ── */
.loader-tagline {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(167,139,250,0.4);
  margin-top: -0.5rem;
}
 
/* ── Jangan tampilkan konten utama selama loading ── */
body.loading > *:not(#page-loader) {
  opacity: 0;
  pointer-events: none;
}
 
body.ready > *:not(#page-loader) {
  opacity: 1;
  transition: opacity 0.6s ease 0.3s;
  pointer-events: auto;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* background grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,92,252,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,92,252,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* glow orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.orb1 {
  width: 500px; height: 500px;
  top: -120px; left: -100px;
  background: radial-gradient(circle, rgba(80,50,200,0.22) 0%, transparent 70%);
}
.orb2 {
  width: 400px; height: 400px;
  top: 10%; right: -80px;
  background: radial-gradient(circle, rgba(200,80,240,0.15) 0%, transparent 70%);
}
.orb3 {
  width: 350px; height: 350px;
  bottom: 30%; left: 20%;
  background: radial-gradient(circle, rgba(60,40,180,0.12) 0%, transparent 70%);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 3.5rem;
  background: rgba(10,8,24,0.7);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

nav.scrolled {
  background: rgba(10,8,24,0.95);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 0.4rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  color: var(--muted2);
  text-decoration: none;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  transition: all 0.25s;
  border: 1px solid transparent;
  position: relative;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(124,92,252,0.08);
}

.nav-links a.active {
  color: var(--white);
  border: 1px solid rgba(167,139,250,0.5);
  background: rgba(124,92,252,0.15);
  box-shadow: 0 0 0 3px rgba(124,92,252,0.18);
}

/* hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--muted2);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 1;
  padding-top: 6rem;
  min-height: 100vh;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 4rem 0;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  color: var(--accent-light); 
  background: rgba(124,92,252,0.12); 
  border: 1px solid rgba(124,92,252,0.25);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-top: 0rem;
  margin-bottom: 2rem;
}

.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.name-text {
  color: var(--white);
}

.title-sub {
  font-family: 'Space Mono', monospace;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--muted2);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--muted2);
  max-width: 500px;
  font-weight: 300;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,92,252,0.35);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted2);
  text-decoration: none;
  transition: color 0.2s;
}
.btn-arrow:hover { color: var(--white); }
.btn-arrow .arrow { font-size: 1.2rem; transition: transform 0.2s; }
.btn-arrow:hover .arrow { transform: translateX(4px); }

/* ── HERO RIGHT wrapper ── */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
 
/* ── PHOTO CARD container ── */
.photo-card {
  position: relative;
  width: 300px;
  height: 360px;
  perspective: 900px;
  cursor: none; /* kita pakai custom cursor */
}
 
/* Custom magnetic cursor dot */
.photo-cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #fff 0%, rgba(167,139,250,0.9) 60%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  mix-blend-mode: screen;
}
.photo-cursor.active {
  transform: translate(-50%, -50%) scale(1);
}
.photo-cursor.hovering {
  width: 40px;
  height: 40px;
}
 
/* ── 3D card inner (yang rotate) ── */
.photo-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.08s linear;
  border-radius: 28px;
}
 
/* ── Photo frame ── */
.photo-frame {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: var(--card);
  box-shadow:
    0 25px 60px rgba(124,92,252,0.30),
    0 8px 24px rgba(0,0,0,0.5);
  transform: translateZ(0);
}
 
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
 
/* Zoom foto sedikit saat hover */
.photo-card:hover .photo-frame img {
  transform: scale(1.05);
}
 
/* ── Sheen overlay (cahaya cermin bergerak) ── */
.photo-sheen {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  pointer-events: none;
  background: radial-gradient(
    ellipse 60% 60% at var(--mx, 50%) var(--my, 50%),
    rgba(255,255,255,0.10) 0%,
    rgba(167,139,250,0.06) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}
 
.photo-card:hover .photo-sheen {
  opacity: 1;
}
 
/* ── Gradient overlay bawah (nama) ── */
.photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(10,8,24,0.92) 0%, transparent 100%);
  border-radius: 0 0 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem 1.4rem 1.2rem;
  z-index: 3;
  transform: translateZ(20px);
}
 
.photo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.35rem;
}
 
.photo-role {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: var(--accent-light);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
 
.photo-role::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-light);
  animation: pulse 2s infinite;
}
 
/* ── Glow ring yang ikut tilt ── */
.photo-glow {
  position: absolute;
  inset: -3px;
  border-radius: 30px;
  pointer-events: none;
  background: conic-gradient(
    from var(--angle, 0deg),
    var(--accent) 0%,
    var(--pink) 25%,
    var(--accent-light) 50%,
    var(--pink) 75%,
    var(--accent) 100%
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s ease;
  animation: spinGlow 4s linear infinite;
  filter: blur(2px);
}
 
.photo-card:hover .photo-glow {
  opacity: 1;
}
 
@keyframes spinGlow {
  to { --angle: 360deg; }
}
 
/* ── Floating particles di sekitar foto ── */
.photo-particles {
  position: absolute;
  inset: -30px;
  pointer-events: none;
  z-index: 4;
}
 
.p-dot {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-light);
  opacity: 0;
  animation: floatDot var(--dur, 3s) var(--delay, 0s) ease-in-out infinite;
}
 
.p-dot:nth-child(2) { background: var(--pink); }
.p-dot:nth-child(3) { background: #fff; width: 3px; height: 3px; }
.p-dot:nth-child(4) { background: var(--accent); }
.p-dot:nth-child(5) { background: var(--accent-light); width: 4px; height: 4px; }
.p-dot:nth-child(6) { background: var(--pink); width: 3px; height: 3px; }
 
.photo-card:hover .p-dot {
  animation-play-state: running;
}
 
@keyframes floatDot {
  0%   { opacity: 0; transform: translate(var(--sx, 0px), var(--sy, 0px)) scale(0); }
  30%  { opacity: 0.9; }
  70%  { opacity: 0.6; }
  100% { opacity: 0; transform: translate(var(--ex, 0px), var(--ey, -60px)) scale(0.5); }
}
 
/* ── Badge floating di sudut ── */
.photo-badge-corner {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(124,92,252,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(167,139,250,0.4);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  z-index: 5;
  transform: translateZ(30px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
 
.photo-card:hover .photo-badge-corner {
  opacity: 1;
  transform: translateZ(30px) translateY(-2px);
}
 
/* ── Placeholder kalau foto tidak ada ── */
.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #1e1a3e 0%, #2a1f5a 50%, #380a3a 100%);
}
 
.photo-placeholder .ph-icon { font-size: 3rem; opacity: 0.5; }
.photo-placeholder .ph-text {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: var(--muted2);
  text-align: center;
  letter-spacing: 0.08em;
  line-height: 1.6;
}
 
/* ── @property for conic-gradient angle (Chrome 89+) ── */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

  /* SHINY TEXT */
  .shiny-text {
    background: linear-gradient(120deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0) 60%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: #e0dbdbb5;
    animation: shine 3s linear infinite;
    display: inline-block;
  }
  @keyframes shine {
    0% { background-position: 100%; }
    100% { background-position: -100%; }
  }

/* ── DIVIDER ── */
.section-divider {
  max-width: 1100px;
  margin: -6rem auto 0;
  padding: 0 4rem;
}

.section-divider hr {
  border: none;
  border-top: 1px solid var(--border);
}

/* ── ROLE SECTION ── */
.role-section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 4rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.role-text {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 590;
  letter-spacing: -0.02em;
  overflow: hidden; white-space: nowrap;
  width: 0; border-right: 3px solid var(--accent-light);
  animation: typing 3s steps(22,end) infinite, blink 0.8s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 9ch; }
}
@keyframes blink {
  from, to { border-color: transparent; }
  50% { border-color: var(--accent-light); }
}

.about-box {
  margin-top:2rem;
  border-radius:1.5rem;
  border:4px solid rgba(124,92,252,0.4);
  box-shadow:0 0 30px rgba(124,92,252,0.3);
  background:linear-gradient(135deg,#0a0818,#100e22,#13102b);
  padding:2rem;
}
 
.about-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:3rem; margin-top:0;
}
.about-col { display:flex; flex-direction:column; gap:1.5rem; }
 
.about-item .company {
  font-family:'Poppins',sans-serif;
  font-weight:500; color:var(--accent-light);
  display:inline-block; opacity:0;
  transform:translateY(20px); filter:blur(6px);
  transition:opacity 0.8s ease, transform 0.8s cubic-bezier(0.22,1,0.36,1), filter 0.8s ease;
}
.about-item .company.show { opacity:1; transform:translateY(0); filter:blur(0); }
 
.company-icon {
  display:inline-flex; align-items:center; justify-content:center;
  width:18px; height:18px; background:var(--accent); border-radius:50%;
  font-size:9px; font-weight:700; color:white;
}
 
.about-item .role-desc {
  margin-top:0.4rem; color:var(--muted2); line-height:1.7;
  font-family:'Poppins',sans-serif; font-size:0.99rem; font-weight:300;
}
.role-desc li { margin-left:1rem; margin-bottom:0.3rem; }
@media(max-width:768px) { .about-grid{grid-template-columns:1fr;} }

/* ── GALLERY SECTION ── */
.gallery-section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 4rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.gallery-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.7rem;
}

.gallery-title {
  font-family:'Poppins',sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.gallery-desc {
  font-size: 0.9rem;
  color: var(--muted2);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.see-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted2);
  text-decoration: none;
  transition: color 0.2s;
}
.see-all:hover { color: var(--white); }
.see-all .arrow { transition: transform 0.2s; }
.see-all:hover .arrow { transform: translateX(4px); }

.studio-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0rem;
  margin-bottom: 1.5rem;
  padding: 0.55rem 1rem;
  background: rgba(124,92,252,0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--muted2);
}

.studio-icon {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
}

/* design project cards */
.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.project-card:hover { border-color: rgba(124,92,252,0.45); transform: translateY(-3px); }

.project-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.project-img {
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, #1a1535 0%, #0f0d25 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-img:nth-child(1) { background: linear-gradient(135deg, #1e1a3e, #2a1f5a); }
.project-img:nth-child(2) { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.project-img:nth-child(3) { background: linear-gradient(135deg, #1f1235, #380a3a); }

.project-img-inner {
  width: 80%;
  height: 80%;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.img-dot { width: 24px; height: 3px; border-radius: 2px; background: rgba(167,139,250,0.3); }
.img-dot.wide { width: 40px; }
.img-dot.short { width: 16px; }

.project-footer {
  padding: 0.7rem 1rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted2);
  text-align: center;
  border-top: 1px solid var(--border);
}

/* ── EXPERTISE SECTION ── */
.expertise-section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.section-heading {
  font-family:'Poppins',sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--muted2);
  margin-bottom: 1.5rem;
}

.avg-badge {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent-light);
  background: rgba(124,92,252,0.15);
  border: 1px solid rgba(124,92,252,0.3);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 0.7rem;
  color: var(--muted2);
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}
.tool-item:hover { border-color: rgba(124,92,252,0.45); transform: translateY(-3px); }

.tool-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.tool-icon.ps { background: #001e36; color: #31a8ff; font-weight: 700; font-size: 0.85rem; }
.tool-icon.canva { background: #00c4cc; color: #fff; font-size: 0.8rem; font-weight: 700; }
.tool-icon.lr { background: #001a2c; color: #31a8ff; font-weight: 700; font-size: 0.85rem; }
.tool-icon.ip { background: #2d0b5e; color: #d4a0ff; font-weight: 700; font-size: 0.85rem; }

/* skill bars */
.skills-list { display: flex; flex-direction: column; gap: 1rem; }

.skill-header { display: flex; justify-content: space-between; margin-bottom: 0.4rem; font-size: 0.89rem; }
.skill-name { color: var(--muted2); }
.skill-pct { color: var(--accent-light); font-family: 'Space Mono', monospace; font-size: 0.80rem; }

.skill-bar {
  height: 5px;
  background: rgba(124,92,252,0.12);
  border-radius: 999px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--pink));
  width: 0;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ══════════════════════════════════════════
   PORTFOLIO SECTION (4-card grid)
══════════════════════════════════════════ */
.portfolio-section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 4rem 4rem;
}

.portfolio-header {
  margin-bottom: 2.5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Work Card */
.work-card {
  display: block;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.work-card:not(.no-link):hover {
  border-color: rgba(124,92,252,0.55);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(124,92,252,0.2);
}

/* Image wrapper with zoom + overlay */
.work-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1a3e, #2a1f5a);
}

.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-card:not(.no-link):hover .work-card-img img {
  transform: scale(1.08);
}

/* Overlay */
.work-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 24, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  backdrop-filter: blur(2px);
}

.work-card:not(.no-link):hover .work-card-overlay {
  opacity: 1;
}

.view-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 18px rgba(124,92,252,0.5);
  transform: translateY(6px);
  transition: transform 0.3s;
}

.work-card:not(.no-link):hover .view-label {
  transform: translateY(0);
}

/* Placeholder inside card img */
.work-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #1e1a3e 0%, #2a1f5a 50%, #380a3a 100%);
}
.work-card-placeholder .ph-icon { font-size: 2.5rem; opacity: 0.5; }
.work-card-placeholder .ph-text {
  font-family:'Poppins',sans-serif;
  font-size: 0.62rem;
  color: var(--muted2);
  text-align: center;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

/* Card info */
.work-card-info {
  padding: 1.2rem 1.4rem 1.4rem;
}

.work-tag {
  display: inline-block;
  font-family:'Poppins',sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  background: rgba(124,92,252,0.12);
  border: 1px solid rgba(124,92,252,0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.work-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ece9ff;
  margin-bottom: 0.4rem;
}

.work-desc {
  font-size: 0.85rem;
  color: #b0aac8;
  line-height: 1.65;
}

/* ── CONTACT SECTION ── */
.contact-section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4rem 6rem;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-heading { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; margin-bottom: 0.5rem; }
.contact-sub { font-size: 0.9rem; color: var(--muted2); }

.contact-links { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 0.5rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--muted2);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}
.contact-link:hover { color: var(--white); transform: translateX(4px); }
.contact-link .icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(124,92,252,0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10,8,24,0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 0.3rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; padding: 2.5rem 1.5rem 0; }
  .hero-right { order: -1; }
  .section-divider, .role-section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .gallery-section, .expertise-section, .contact-section {
    grid-template-columns: 1fr;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .contact-card { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}

.tool-icon-img {
  width: 150px;
  height: 200px;
  padding: 0; /* penting biar gambar full */
  overflow: hidden;
}

.tool-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.about-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-item .company {
  font-weight: 500;
  color: #a78bfa;
}

.about-item .role-desc {
  margin-top: 0.4rem;
  color: #b0aac8;
  line-height: 1.7;
}

/* biar list rapi */
.role-desc li {
  margin-left: 1rem;
  margin-bottom: 0.3rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.company {
  display: inline-block;
  color: #a78bfa;

  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);

  transition: 
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s ease;
}

.company.show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* FILTER TABS */

.filter-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

/* BUTTON */

.filter-tab {
  padding: 7px 16px;
  border-radius: 8px;

  font-size: 13px;
  font-weight: 500;

  cursor: pointer;

  border: 1px solid var(--border);

  background: transparent;

  color: var(--muted);

  transition: all 0.2s;

  font-family: 'DM Sans', sans-serif;
}

/* HOVER */

.filter-tab:hover {
  color: var(--accent3);

  border-color: rgba(124, 110, 232, 0.35);

  background: var(--tag-bg);
}

/* ACTIVE */

.filter-tab.active {
  background: var(--accent);

  color: #fff;

  border-color: var(--accent);
}

/* RESPONSIVE */

@media (max-width: 680px) {

  .filter-tabs {
    gap: 8px;
  }

  .filter-tab {
    font-size: 12px;
    padding: 7px 14px;
  }

}

/* ═══════════════════════════════════
   PORTFOLIO TABS
═══════════════════════════════════ */

.portfolio-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.portfolio-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);

  background: transparent;
  color: var(--muted2);

  font-size: 0.85rem;
  cursor: pointer;

  transition: 0.25s;
}

.portfolio-tab:hover {
  background: rgba(124,92,252,0.1);
  color: var(--white);
}

.portfolio-tab.active {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: white;
  border-color: transparent;
}

/* CONTENT */

.portfolio-content {
  display: none;
}

.portfolio-content.active {
  display: block;
}

/* GALLERY */

.gallery-content{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-section{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.gallery-content{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-card{
  width: 510px;
}

/* PROJECT */
#projects .portfolio-grid{
  display:flex;
  flex-wrap:wrap;
  gap:2rem;
}

#projects .work-card{
  width:465px;
}

/* DESIGN & CERTIFICATE */
#design .portfolio-grid,
#certificate .portfolio-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:2rem;
}

#design .work-card,
#certificate .work-card{
  width:300px;
}

.gallery-section{
  margin-top: 4rem;
}

/* HIDDEN CERTIFICATE */
.hidden-cert{
  display:none;
}

/* BUTTON WRAP */
.see-more-wrap{
  display:flex;
  justify-content:flex-start;
  margin-top:3rem;
}

/* BUTTON */
.see-more-btn{
  padding:0.9rem 2rem;
  border:none;
  border-radius:999px;
  background:linear-gradient(135deg,#7c5cfc,#ff4ecd);
  color:white;
  font-weight:600;
  cursor:pointer;
  transition:0.3s;
}

/* HOVER */
.see-more-btn:hover{
  transform:translateY(-3px);
}

/* CARD ANIMATION */
.work-card{
  animation: softPop .7s ease;
}

/* KEYFRAMES */
@keyframes softPop{

  0%{
    opacity:0;
    transform:scale(.8);
  }

  60%{
    opacity:1;
    transform:scale(1.04);
  }

  100%{
    opacity:1;
    transform:scale(1);
  }
}

/* CARD INTERACTION */
.work-card{
  cursor:pointer;

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    filter .35s ease;
}

/* HOVER */
.work-card:hover{
  transform:
    translateY(-10px)
    scale(1.02);

  filter:brightness(1.05);

  box-shadow:
    0 20px 40px rgba(0,0,0,.18);
}

/* CLICK */
.work-card:active{
  transform:scale(.97);
}

/* IMAGE MODAL */
.image-modal{
  position:fixed;
  inset:0;

  background:rgba(0,0,0,.82);

  backdrop-filter:blur(10px);

  display:none;
  align-items:center;
  justify-content:center;

  margin-top:60px;

  padding:2rem;

  z-index:9999;

  cursor:pointer;
}

/* ACTIVE */
.image-modal.active{
  display:flex;
}

/* IMAGE */
.modal-image{
  width:auto;

  max-width:700px;
  max-height:82vh;

  border-radius:24px;

  box-shadow:
    0 20px 60px rgba(0,0,0,.45);

  animation:modalShow .35s ease;

  cursor:default;
}

/* ANIMATION */
@keyframes modalShow{

  from{
    opacity:0;
    transform:scale(.85);
  }

  to{
    opacity:1;
    transform:scale(1);
  }
}

.blur-word {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(-20px);

  transition:
    opacity 0.45s ease,
    filter 0.45s ease,
    transform 0.45s ease;
}

.blur-word.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ═══════════════════════════════════
   RESPONSIVE MOBILE FIX
═══════════════════════════════════ */

@media (max-width: 1024px){

  .hero-inner{
    grid-template-columns:1fr;
    gap:3rem;
    text-align:center;
  }

  .hero-left{
    display:flex;
    flex-direction:column;
    align-items:center;
  }

  .hero-desc{
    max-width:650px;
  }

  .hero-cta{
    justify-content:center;
    flex-wrap:wrap;
  }

  .photo-card{
    width:280px;
    height:340px;
  }

  .portfolio-grid{
    grid-template-columns:1fr;
  }

  .contact-card{
    grid-template-columns:1fr;
  }

  .gallery-section,
  .expertise-section{
    grid-template-columns:1fr;
  }
}


/* TABLET */
@media (max-width: 768px){

  html,body{
    overflow-x:hidden;
  }

  nav{
    padding:1rem 1.2rem;
  }

  .hero{
    padding-top:5rem;
  }

  .hero-inner{
    padding:2rem 1.2rem 0;
  }

  .hero-title{
    font-size:2.8rem;
  }

  .title-sub{
    font-size:.9rem;
  }

  .hero-desc{
    font-size:.92rem;
    line-height:1.8;
  }

  .photo-card{
    width:250px;
    height:310px;
  }

  .role-section,
  .portfolio-section,
  .gallery-section,
  .expertise-section,
  .contact-section{
    padding-left:1.2rem;
    padding-right:1.2rem;
  }

  .about-grid{
    grid-template-columns:1fr;
    gap:1.5rem;
  }

  .tools-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .portfolio-tabs{
    justify-content:center;
  }

  #projects .work-card,
  #design .work-card,
  #certificate .work-card{
    width:100%;
  }

  .project-card{
    width:100%;
  }

  .gallery-title,
  .section-heading,
  .contact-heading{
    text-align:center;
  }

  .contact-card{
    padding:2rem 1.5rem;
  }

  .contact-links{
    margin-top:1rem;
  }

  .modal-image{
    max-width:95%;
    max-height:75vh;
    border-radius:18px;
  }
}


/* HP */
@media (max-width: 480px){

  .hero-title{
    font-size:2.3rem;
    line-height:1.15;
  }

  .hero-tag{
    font-size:.68rem;
    padding:.28rem .8rem;
  }

  .title-sub{
    font-size:.8rem;
  }

  .hero-desc{
    font-size:.88rem;
  }

  .btn-primary,
  .btn-arrow{
    width:100%;
    justify-content:center;
  }

  .hero-cta{
    width:100%;
    flex-direction:column;
  }

  .photo-card{
    width:220px;
    height:280px;
  }

  .photo-overlay{
    padding:1rem;
  }

  .photo-name{
    font-size:1.1rem;
  }

  .photo-role{
    font-size:.58rem;
  }

  .role-text{
    font-size:2rem;
  }

  .work-card-info{
    padding:1rem;
  }

  .work-title{
    font-size:1rem;
  }

  .work-desc{
    font-size:.8rem;
  }

  .portfolio-tab{
    width:100%;
    text-align:center;
  }

  .tools-grid{
    grid-template-columns:1fr 1fr;
    gap:.7rem;
  }

  .tool-item{
    padding:.9rem .4rem;
  }

  .contact-card{
    padding:1.5rem 1rem;
  }

  .contact-link{
    font-size:.82rem;
    word-break:break-word;
  }

  .see-more-wrap{
    justify-content:center;
  }

  .see-more-btn{
    width:100%;
  }

}


/* ═════════ FOOTER ═════════ */
.site-footer{
  margin-top:-4rem;
  width:100vw;

  padding:1.6rem 6rem;

  background:rgba(15,14,30,0.75);
  backdrop-filter:blur(12px);

  border-top:1px solid rgba(167,139,250,0.12);

  position:relative;

  left:50%;
  transform:
    translateX(-50%)
    translateY(60px);

  box-sizing:border-box;
}

.footer-inner{
  max-width:1200px;
  margin:auto;

  display:flex;
  align-items:center;
  justify-content:center;
}

.footer-copy{
  margin:0 auto;

  color:rgba(255,255,255,0.78);

  font-size:0.82rem;
  font-weight:10;

  text-align:center;
  letter-spacing:0.6px;

  width:100%;
}