/* nikola.dsgn — gaya halaman beranda & portofolio (pusat informasi) */
:root {
  --bg: #f5f9ff;
  --bg-2: #eaf3ff;
  --surface: rgba(255, 255, 255, .72);
  --surface-solid: #ffffff;
  --ink: #0a1c30;
  --ink-2: #3a526c;
  --muted: #6c8299;
  --line: rgba(14, 39, 64, .09);
  --line-2: rgba(14, 39, 64, .16);
  --blue: #2b93ee;
  --blue-d: #1677d2;
  --violet: #7c5cff;
  --cyan: #22d3ee;
  --pink: #ff6fb1;
  --grad: linear-gradient(120deg, #2b93ee 0%, #7c5cff 55%, #ff6fb1 100%);
  --grad-soft: linear-gradient(120deg, rgba(43, 147, 238, .14), rgba(124, 92, 255, .14));
  --shadow: 0 1px 2px rgba(10, 28, 48, .05), 0 12px 40px rgba(43, 147, 238, .12);
  --shadow-lg: 0 30px 80px rgba(36, 76, 140, .22);
  --radius: 24px;
  --display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --nav-h: 68px;
  --nav-bg: rgba(246, 250, 255, .95);
}
:root[data-theme="dark"] {
  --nav-bg: rgba(6, 13, 25, .86);
  --bg: #060d19;
  --bg-2: #0a1526;
  --surface: rgba(255, 255, 255, .055);
  --surface-solid: #0e1a2e;
  --ink: #eef5ff;
  --ink-2: #b4c6dc;
  --muted: #7f95ad;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .18);
  --grad-soft: linear-gradient(120deg, rgba(43, 147, 238, .22), rgba(124, 92, 255, .22));
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 40px rgba(0, 0, 0, .35);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
  transition: background .4s, color .4s;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }

/* ---------- Latar bergerak ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-fx i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: float 18s ease-in-out infinite; }
.bg-fx i:nth-child(1) { width: 520px; height: 520px; background: #8fcaff; top: -140px; left: -120px; }
.bg-fx i:nth-child(2) { width: 460px; height: 460px; background: #c9b8ff; top: 30%; right: -160px; animation-delay: -6s; }
.bg-fx i:nth-child(3) { width: 420px; height: 420px; background: #ffc2de; bottom: -160px; left: 20%; animation-delay: -12s; opacity: .4; }
:root[data-theme="dark"] .bg-fx i { opacity: .28; }
:root[data-theme="dark"] .bg-fx i:nth-child(1) { background: #1a5fb4; }
:root[data-theme="dark"] .bg-fx i:nth-child(2) { background: #4b2fb8; }
:root[data-theme="dark"] .bg-fx i:nth-child(3) { background: #a02a68; opacity: .2; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(60px,40px) scale(1.08); } 66% { transform: translate(-40px,70px) scale(.94); } }
.grid-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; --grid: rgba(14, 39, 64, .07);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 85%); mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 85%); }
:root[data-theme="dark"] .grid-bg { --grid: rgba(255, 255, 255, .06); }
.noise { position: fixed; inset: 0; z-index: -1; opacity: .035; pointer-events: none; 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'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.glow { position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: -1; left: 0; top: 0; background: radial-gradient(circle, rgba(124, 92, 255, .20), transparent 65%); transform: translate(-50%, -50%); opacity: 0; transition: opacity .4s; }
.glow.on { opacity: 1; }

/* ---------- Navigasi ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.stuck { background: var(--nav-bg); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand b { color: var(--blue); }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; box-shadow: 0 6px 18px rgba(124, 92, 255, .35); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover .brand-mark { transform: rotate(-10deg) scale(1.08); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.active { background: var(--grad-soft); color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); display: grid; place-items: center; transition: transform .25s, background .2s; }
.icon-btn:hover { transform: rotate(18deg) scale(1.06); }
.burger { display: none; }

/* ---------- Tombol ---------- */
.btn { --p: 14px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: var(--p); border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 15px; transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), box-shadow .25s, background .25s; position: relative; overflow: hidden; }
.btn:active { transform: scale(.97); }
.btn-primary { color: #fff; background: var(--grad); background-size: 160% 100%; box-shadow: 0 10px 30px rgba(124, 92, 255, .35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(124, 92, 255, .45); background-position: 100% 0; }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--blue); }
.btn-sm { --p: 10px 18px; font-size: 14px; }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Umum ---------- */
section { padding: 104px 0; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ping 2s infinite; }
.eyebrow .dot.off { background: #f59e0b; animation: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head h2 { font-family: var(--display); font-size: clamp(32px, 5vw, 52px); line-height: 1.05; letter-spacing: -.03em; margin: 14px 0 12px; font-weight: 800; }
.sec-head p { color: var(--ink-2); font-size: 17px; margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow); }

/* Muncul saat di-scroll */
.rv { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + 56px) 0 80px; min-height: 100svh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.8vw, 62px); line-height: 1.06; letter-spacing: -.035em; margin: 20px 0 18px; }
.hero h1 .rot { display: inline-block; position: relative; }
.hero h1 .rot span { display: inline-block; background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; transition: transform .5s cubic-bezier(.3, 1.2, .5, 1), opacity .4s; }
.hero h1 .rot span.out { transform: translateY(-40%) rotateX(60deg); opacity: 0; }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 520px; margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chip b { color: var(--ink); font-weight: 800; }

/* Kanvas desain (ilustrasi hero) */
.stage { position: relative; aspect-ratio: 1 / 1.02; max-width: 520px; margin-inline: auto; width: 100%; perspective: 1200px; }
.stage .art { position: absolute; inset: 6% 8% 6% 8%; border-radius: 36px; background: var(--grad); box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(-4deg); animation: bob 7s ease-in-out infinite; }
.stage .art::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; right: -18%; top: -14%; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff8, #fff0 70%); }
.stage .art .big-n { position: absolute; left: 9%; bottom: -4%; font-family: var(--display); font-weight: 800; font-size: clamp(180px, 30vw, 330px); line-height: .8; color: #fff; opacity: .95; letter-spacing: -.08em; text-shadow: 0 20px 60px rgba(40, 20, 120, .35); }
.stage .art .ring { position: absolute; right: 10%; top: 12%; width: 110px; height: 110px; border-radius: 50%; border: 14px solid rgba(255, 255, 255, .85); animation: spin 14s linear infinite; border-top-color: transparent; }
.stage .art .sq { position: absolute; left: 12%; top: 16%; width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: bob 5s ease-in-out infinite reverse; }
@keyframes bob { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.float { position: absolute; padding: 12px 16px; border-radius: 18px; background: var(--surface-solid); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 10px; animation: bob2 6s ease-in-out infinite; }
.float small { display: block; color: var(--muted); font-weight: 600; font-size: 11.5px; }
.float .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 17px; background: var(--grad-soft); }
.float.f1 { left: -2%; top: 14%; }
.float.f2 { right: -3%; top: 46%; animation-delay: -2s; }
.float.f3 { left: 6%; bottom: 4%; animation-delay: -4s; }
@keyframes bob2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.bar { width: 120px; height: 7px; border-radius: 99px; background: var(--line-2); margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 70%; background: var(--grad); border-radius: 99px; animation: grow 3.2s ease-in-out infinite alternate; }
@keyframes grow { from { width: 30%; } to { width: 92%; } }

/* ---------- Marquee ---------- */
.marquee { padding: 22px 0; border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.marquee-track { display: flex; width: max-content; gap: 40px; animation: slide 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--display); font-size: clamp(22px, 3vw, 34px); font-weight: 700; letter-spacing: -.02em; color: var(--ink-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.marquee span::after { content: '✦'; color: var(--violet); font-size: .6em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Profil (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento > .card { padding: 30px; transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s, border-color .35s; }
.bento > .card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.b-bio { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.b-bio h3 { font-family: var(--display); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 14px; }
.b-bio p { color: var(--ink-2); margin: 0 0 12px; font-size: 16.5px; }
.who { display: flex; align-items: center; gap: 14px; }
.avatar { width: 58px; height: 58px; border-radius: 20px; background: var(--grad); display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 800; font-size: 32px; box-shadow: 0 10px 26px rgba(124, 92, 255, .4); }
.who b { display: block; font-size: 16px; }
.who span { color: var(--muted); font-size: 14px; }
.b-fact { grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; }
.b-fact .num { font-family: var(--display); font-size: 54px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.b-fact .lbl { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.b-skills, .b-for { grid-column: span 3; }
.b-skills h4, .b-for h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 8px 14px; border-radius: 999px; background: var(--grad-soft); font-size: 14px; font-weight: 600; transition: transform .25s; }
.tag:hover { transform: translateY(-3px) rotate(-2deg); }

/* ---------- Layanan ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.svc { padding: 24px; position: relative; overflow: hidden; transition: transform .35s, box-shadow .35s; transform-style: preserve-3d; }
.svc:hover { box-shadow: var(--shadow-lg); }
.svc::after { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 92, 255, .14), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.svc:hover::after { opacity: 1; }
.svc .ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 25px; background: var(--grad-soft); margin-bottom: 18px; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.svc:hover .ic { transform: scale(1.15) rotate(-8deg); }
.svc h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.svc p { margin: 0 0 16px; color: var(--muted); font-size: 14px; min-height: 42px; }
.svc .price { font-family: var(--display); font-size: 22px; font-weight: 800; }
.svc .price small { font-family: var(--font); font-size: 12.5px; color: var(--muted); font-weight: 600; }
.note { margin-top: 24px; color: var(--muted); font-size: 14.5px; text-align: center; }

/* ---------- Portofolio ---------- */
.pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.pf { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-solid); border: 1px solid var(--line); cursor: pointer; box-shadow: var(--shadow); transition: transform .45s cubic-bezier(.2, .8, .3, 1), box-shadow .45s; }
.pf:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-lg); }
.pf img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .3, 1); }
.pf:hover img { transform: scale(1.08); }
.pf .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; background: linear-gradient(transparent, rgba(6, 13, 25, .82)); color: #fff; transform: translateY(8px); opacity: .0; transition: .4s; }
.pf:hover .cap, .pf:focus-visible .cap { opacity: 1; transform: none; }
.pf .cap b { display: block; font-size: 17px; }
.pf .cap span { font-size: 13px; opacity: .85; }
.pf.ph { cursor: default; display: grid; place-items: center; text-align: center; background: var(--grad-soft); border-style: dashed; border-color: var(--line-2); box-shadow: none; }
.pf.ph:hover { transform: none; box-shadow: none; }
.pf.ph div { padding: 20px; color: var(--ink-2); font-weight: 700; }
.pf.ph div i { display: block; font-style: normal; font-size: 40px; margin-bottom: 8px; animation: bob2 4s ease-in-out infinite; }
.pf.ph div small { display: block; font-weight: 600; color: var(--muted); margin-top: 4px; }
.more { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Proses ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.step { padding: 28px 24px; position: relative; transition: transform .35s; }
.step:hover { transform: translateY(-6px); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--display); font-size: 56px; font-weight: 800; letter-spacing: -.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.track { margin-top: 22px; padding: 28px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: space-between; }
.track h3 { margin: 0 0 4px; font-family: var(--display); font-size: 24px; letter-spacing: -.02em; }
.track p { margin: 0; color: var(--ink-2); }
.track form { display: flex; gap: 10px; flex-wrap: wrap; }
.track input { padding: 14px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-solid); color: var(--ink); font: inherit; font-weight: 600; width: 230px; text-transform: uppercase; outline: none; transition: border-color .2s, box-shadow .2s; }
.track input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43, 147, 238, .18); }

/* ---------- Link / kontak ---------- */
.links { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.lk { display: flex; align-items: center; gap: 16px; padding: 20px 22px; transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s, border-color .35s; }
.lk:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.lk .ic { width: 54px; height: 54px; flex: none; border-radius: 18px; display: grid; place-items: center; font-size: 26px; color: var(--ink-i, #fff); background: var(--c, var(--grad)); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.lk:hover .ic { transform: rotate(-10deg) scale(1.1); }
.lk b { display: block; font-size: 16.5px; line-height: 1.25; }
.lk span { color: var(--muted); font-size: 13.5px; }
.lk .go { margin-left: auto; font-size: 20px; color: var(--muted); transition: transform .25s, color .25s; }
.lk:hover .go { transform: translate(4px, -4px); color: var(--blue); }

.ic svg, .soc svg { width: 26px; height: 26px; fill: currentColor; }
.wm { display: inline-flex; align-items: center; }
.ic .wm svg, .soc .wm svg { width: auto; height: 16px; display: block; }
.lk .ic.wide { width: auto; min-width: 54px; padding: 0 16px; }
.lk .ic.wide .wm svg { height: 18px; }
.soc.feat .wm svg { height: 14px; }
.social-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.social-row .lbl { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.soc { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: var(--ink-i, #fff); background: var(--c, var(--grad)); box-shadow: 0 8px 20px rgba(0, 0, 0, .16); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), box-shadow .3s; }
.soc svg { width: 22px; height: 22px; }
.soc:hover { transform: translateY(-5px) rotate(-6deg) scale(1.08); box-shadow: 0 14px 28px rgba(0, 0, 0, .25); }


/* ---------- Sorotan: Template Canva (tujuan utama) ---------- */
.nav-links a.hl { color: var(--ink); font-weight: 800; background: var(--grad-soft); }
.nav-links a.hl::before { content: '✦ '; color: var(--violet); }
.tpl { padding-top: 70px; padding-bottom: 40px; }
.tpl-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 40px; color: #fff;
  background: linear-gradient(125deg, #1d6fe0 0%, #6a4cf5 52%, #e35aa3 100%); background-size: 160% 160%; animation: gradmove 12s ease infinite; box-shadow: var(--shadow-lg); }
.tpl-card::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -140px; top: -170px; background: rgba(255, 255, 255, .14); }
.tpl-card::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; left: -90px; bottom: -130px; background: rgba(255, 255, 255, .1); }
.tpl-copy { position: relative; z-index: 1; }
.tpl-eb { background: rgba(255, 255, 255, .18) !important; border-color: rgba(255, 255, 255, .35) !important; color: #fff !important; }
.tpl-card h2 { font-family: var(--display); font-size: clamp(30px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -.035em; margin: 16px 0 12px; font-weight: 800; }
.tpl-card p { margin: 0 0 18px; font-size: 17px; opacity: .93; max-width: 520px; }
.tpl-points { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 9px; }
.tpl-points li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15.5px; }
.tpl-points li::before { content: '✓'; width: 22px; height: 22px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.tpl-card .btn.btn-white { background: #fff; color: #1b3a8a; box-shadow: 0 16px 40px rgba(20, 20, 80, .35); font-size: 16px; padding: 16px 28px; }
.tpl-card .btn.btn-white:hover { transform: translateY(-4px) scale(1.03); }
.tpl-visual { position: relative; z-index: 1; min-height: 290px; perspective: 900px; }
.tpl-visual .tcard { position: absolute; width: min(54%, 230px); aspect-ratio: 1 / 1; border-radius: 22px; background: #fff; border: 5px solid #fff; box-shadow: 0 24px 60px rgba(20, 10, 70, .4); overflow: hidden; }
.tpl-visual .tcard img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 16px; }
.mock { position: absolute; inset: 0; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; color: #fff; overflow: hidden; border-radius: 16px; }
.mock i { position: absolute; border-radius: 50%; }
.mock small { position: relative; font-weight: 800; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .92; }
.mock b { position: relative; font-family: var(--display); font-size: clamp(20px, 2.6vw, 30px); line-height: .98; letter-spacing: -.04em; }
.mock em { position: relative; display: block; width: 46%; height: 7px; border-radius: 9px; background: rgba(255, 255, 255, .55); margin-top: 6px; }
.mk1 { background: linear-gradient(160deg, #ff9a8b, #ff5fa8); }
.mk1 i.a { width: 120px; height: 120px; right: -34px; top: -34px; background: rgba(255, 255, 255, .28); }
.mk1 i.b { width: 44px; height: 44px; left: 14px; top: 14px; background: #ffe27a; }
.mk2 { background: linear-gradient(160deg, #1b2a6b, #0f1b4d); }
.mk2 i.a { width: 96px; height: 96px; right: 14px; top: 14px; background: #ffd23f; }
.mk2 i.b { width: 150px; height: 150px; left: -60px; bottom: -70px; background: rgba(255, 255, 255, .1); }
.mk3 { background: linear-gradient(160deg, #fff7e6, #ffe9bd); color: #1b2a52; border: 3px solid #d6a23a; }
.mk3 small { color: #a8741a; }
.mk3 b { font-size: clamp(15px, 1.9vw, 21px); }
.mk3 i.a { width: 70px; height: 70px; right: 12px; top: 12px; background: radial-gradient(circle, #f4c95d 30%, #d6a23a 31%, #d6a23a 100%); }
.mk3 em { background: rgba(27, 42, 82, .35); }
.tpl-visual .t1 { left: 2%; top: 14%; transform: rotate(-9deg); animation: tpl1 7s ease-in-out infinite; }
.tpl-visual .t2 { left: 22%; top: 2%; transform: rotate(4deg); animation: tpl2 8s ease-in-out infinite; z-index: 2; }
.tpl-visual .t3 { right: 0; top: 24%; transform: rotate(11deg); animation: tpl3 9s ease-in-out infinite; }
.tpl-visual .tag-float { position: absolute; z-index: 3; left: 4%; bottom: 6%; background: #fff; color: #1b3a8a; font-weight: 800; font-size: 13px; padding: 9px 14px; border-radius: 99px; box-shadow: 0 12px 30px rgba(20, 10, 70, .35); animation: bob2 5s ease-in-out infinite; }
@keyframes tpl1 { 50% { transform: rotate(-12deg) translateY(-10px); } }
@keyframes tpl2 { 50% { transform: rotate(6deg) translateY(-14px); } }
@keyframes tpl3 { 50% { transform: rotate(14deg) translateY(-8px); } }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 22px; }
.prod { display: flex; flex-direction: column; overflow: hidden; transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s; }
.prod:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.prod .pic { position: relative; aspect-ratio: 1 / 1; background: var(--grad-soft); overflow: hidden; }
.prod .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .3, 1); }
.prod:hover .pic img { transform: scale(1.07); }
.prod .pic .badge { position: absolute; left: 12px; top: 12px; background: #fff; color: #1b3a8a; font-weight: 800; font-size: 12px; padding: 5px 11px; border-radius: 99px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.prod .body { padding: 16px 18px 18px; display: grid; gap: 4px; }
.prod h3 { margin: 0; font-size: 16.5px; line-height: 1.25; }
.prod p { margin: 0; color: var(--muted); font-size: 13.5px; }
.prod .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.prod .price { font-family: var(--display); font-size: 20px; font-weight: 800; }
.prod .go { font-size: 13px; font-weight: 700; color: var(--blue); }
/* tombol mengambang */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 55; display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 999px; color: #fff; font-weight: 800; font-size: 14.5px; background: var(--grad); background-size: 160% 100%; box-shadow: 0 14px 36px rgba(124, 92, 255, .5); transform: translateY(90px); opacity: 0; transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), opacity .3s; }
.fab.show { transform: none; opacity: 1; }
.fab:hover { background-position: 100% 0; }
/* kartu & tombol andalan */
.soc.feat { display: inline-flex; align-items: center; justify-content: center; width: auto; padding: 0 16px 0 12px; gap: 8px; white-space: nowrap; font-weight: 800; font-size: 14px; box-shadow: 0 10px 28px rgba(124, 92, 255, .45); }
.soc.feat span { color: var(--ink-i, #fff); }
.lk.feat { grid-column: span 2; border-color: transparent; background: linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box, var(--grad) border-box; border: 2px solid transparent; box-shadow: 0 18px 50px rgba(124, 92, 255, .25); }
.feat-badge { display: block; width: max-content; margin-top: 6px; font-style: normal; font-size: 11.5px; font-weight: 800; color: #fff; background: var(--grad); padding: 3px 10px; border-radius: 99px; }
@media (max-width: 1100px) { .social-row .lbl { flex-basis: 100%; margin: 0 0 -2px; } }
@media (max-width: 920px) {
  .hero h1 { font-size: clamp(34px, 7.2vw, 58px); }
  .tpl-card { grid-template-columns: 1fr; gap: 18px; }
  .tpl-visual { order: -1; min-height: 0; height: clamp(230px, 44vw, 330px); }
  .tpl-visual .tcard { width: clamp(160px, 38vw, 230px); }
  .tpl-visual .t1 { left: 4%; top: 18%; } .tpl-visual .t2 { left: 50%; margin-left: calc(clamp(160px, 38vw, 230px) / -2); top: 3%; } .tpl-visual .t3 { right: 4%; top: 22%; }
  .tpl-visual .tag-float { left: 8%; bottom: 2%; }
  footer.foot { padding-bottom: 100px; }
}
@media (max-width: 560px) {
  .fab { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); padding: 12px 16px; }
  .lk.feat { grid-column: auto; }
  .social-row .soc.feat { flex: 1 1 100%; height: 50px; justify-content: center; }
  .soc { width: 44px; height: 44px; border-radius: 14px; }
  .svc-grid, .tpl-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .svc { padding: 16px; } .svc .ic { width: 42px; height: 42px; font-size: 21px; margin-bottom: 12px; }
  .svc h3 { font-size: 15px; } .svc p { font-size: 12.5px; min-height: 0; margin-bottom: 10px; } .svc .price { font-size: 17px; }
  .prod .body { padding: 12px 13px 14px; } .prod h3 { font-size: 14px; } .prod p { font-size: 12px; } .prod .price { font-size: 16px; } .prod .pic .badge { left: 8px; top: 8px; font-size: 10.5px; padding: 4px 9px; }
  .tpl-card { padding: 24px 20px; border-radius: 30px; }
  .tpl-card .btn.btn-white { width: 100%; }
  .foot-links a { padding: 6px 0; }
}

/* ---------- CTA & footer ---------- */
.cta-band { margin: 0 auto; padding: clamp(40px, 7vw, 80px); border-radius: 40px; text-align: center; color: #fff; background: var(--grad); background-size: 160% 160%; animation: gradmove 10s ease infinite; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-band::before, .cta-band::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.cta-band::before { width: 360px; height: 360px; right: -120px; top: -140px; }
.cta-band::after { width: 240px; height: 240px; left: -80px; bottom: -120px; }
@keyframes gradmove { 50% { background-position: 100% 100%; } }
.cta-band h2 { font-family: var(--display); font-size: clamp(32px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.04em; margin: 0 0 14px; position: relative; }
.cta-band p { margin: 0 auto 28px; max-width: 520px; opacity: .92; font-size: 18px; position: relative; }
.cta-band .btn { background: #fff; color: #1b3a8a; position: relative; box-shadow: 0 16px 40px rgba(20, 20, 80, .3); }
.cta-band .btn:hover { transform: translateY(-4px) scale(1.03); }
.cta-band .btn.btn-ghost-w { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .5); box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
footer.foot { padding: 48px 0 40px; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a:hover { color: var(--blue); }

/* ---------- Halaman portofolio ---------- */
.page-head { padding: calc(var(--nav-h) + 64px) 0 36px; }
.page-head h1 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 7vw, 80px); line-height: 1; letter-spacing: -.04em; margin: 18px 0 14px; }
.page-head p { color: var(--ink-2); font-size: 18px; max-width: 560px; margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; }
.filters button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-weight: 700; font-size: 14px; transition: .25s; }
.filters button:hover { transform: translateY(-2px); }
.filters button.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 22px rgba(124, 92, 255, .35); }
.pf.hide { display: none; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(4, 9, 18, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); display: grid; place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lb.open { opacity: 1; pointer-events: auto; }
.lb figure { margin: 0; max-width: min(1000px, 100%); max-height: 100%; display: grid; gap: 14px; justify-items: center; transform: scale(.94); transition: transform .35s cubic-bezier(.3, 1.3, .5, 1); }
.lb.open figure { transform: none; }
.lb img { max-height: 76vh; border-radius: 18px; box-shadow: var(--shadow-lg); }
.lb figcaption { color: #fff; text-align: center; }
.lb figcaption b { display: block; font-size: 20px; }
.lb figcaption span { opacity: .75; font-size: 14px; }
.lb .x { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 22px; }
.empty-pf { text-align: center; padding: 40px 20px 8px; color: var(--ink-2); }

/* ---------- Responsif ---------- */
@media (max-width: 920px) {
  section { padding: 76px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .stage { max-width: 340px; margin-top: 12px; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 24px); }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-bio { grid-column: span 2; grid-row: auto; }
  .b-fact { grid-column: span 1; }
  .b-skills, .b-for { grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav-links { position: fixed; inset: var(--nav-h) 14px auto 14px; flex-direction: column; padding: 12px; border-radius: 22px; background: var(--surface-solid); border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-12px) scale(.97); opacity: 0; pointer-events: none; transition: .25s; margin: 0; }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 16px; }
  .burger { display: grid; }
  .nav-end { margin-left: auto; }
  .nav-cta { display: none; }
}
@media (max-width: 560px) {
  .wrap { width: min(1160px, 100% - 32px); }
  .steps { grid-template-columns: 1fr; }
  .float.f1 { left: -4%; } .float.f2 { right: -4%; }
  .track input { width: 100%; }
  .track form { width: 100%; }
  .cta-row .btn { flex: 1 1 100%; }
}
/* Layar sentuh (HP/iPad): tidak ada hover, jadi keterangan karya selalu terlihat */
@media (hover: none) {
  .pf .cap { opacity: 1; transform: none; }
  .pf:hover, .prod:hover, .lk:hover, .bento > .card:hover, .step:hover { transform: none; }
}
@media (max-width: 560px) {
  .pf-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pf { border-radius: 16px; }
  .pf .cap { padding: 40px 12px 12px; } .pf .cap b { font-size: 14px; } .pf .cap span { font-size: 11.5px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 4px 16px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
}
/* ---------- Ukuran lebih ringkas di HP & iPad (menimpa aturan di atas) ---------- */
@media (max-width: 920px) {
  section { padding: 58px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-head h2 { font-size: clamp(25px, 5.2vw, 36px); margin: 12px 0 8px; }
  .sec-head p { font-size: 15px; }
  .eyebrow { font-size: 12px; padding: 6px 12px 6px 9px; }
  .btn { --p: 12px 20px; font-size: 14.5px; }
  .hero { padding-top: calc(var(--nav-h) + 10px); padding-bottom: 44px !important; }
  .hero-grid { gap: 18px; }
  .hero h1 { font-size: clamp(29px, 5.6vw, 44px); margin: 14px 0 10px; }
  .hero p.lead { font-size: 15.5px; margin-bottom: 18px; }
  .social-row { margin-top: 20px; gap: 8px; }
  .stage { max-width: 250px; margin-top: 4px; }
  .float { padding: 8px 11px; border-radius: 14px; font-size: 11.5px; gap: 8px; }
  .float small { font-size: 10px; } .float .ic { width: 27px; height: 27px; font-size: 13px; border-radius: 9px; }
  .bar { width: 90px; height: 5px; }
  .marquee { padding: 14px 0; } .marquee span { font-size: 20px; gap: 28px; } .marquee-track { gap: 28px; }
  .tpl { padding-top: 34px; padding-bottom: 14px; }
  .tpl-card { padding: 22px 20px; border-radius: 28px; gap: 12px; }
  .tpl-card h2 { font-size: clamp(24px, 5vw, 34px); margin: 10px 0 8px; }
  .tpl-card p { font-size: 14.5px; margin-bottom: 12px; }
  .tpl-points { gap: 6px; margin-bottom: 16px; } .tpl-points li { font-size: 14px; gap: 8px; }
  .tpl-points li::before { width: 19px; height: 19px; font-size: 11px; }
  .tpl-card .btn.btn-white { font-size: 14.5px; padding: 13px 22px; }
  .tpl-visual { height: clamp(150px, 30vw, 215px); }
  .tpl-visual .tcard { width: clamp(100px, 24vw, 150px); border-width: 4px; border-radius: 15px; }
  .tpl-visual .t1 { left: 6%; top: 16%; } .tpl-visual .t3 { right: 6%; top: 20%; }
  .tpl-visual .t2 { margin-left: calc(clamp(100px, 24vw, 150px) / -2); top: 2%; }
  .tpl-visual .tag-float { font-size: 11.5px; padding: 6px 11px; left: 8%; bottom: 0; }
  .mock { padding: 9px; } .mock b { font-size: 15px; } .mock small { font-size: 8px; } .mock em { height: 5px; margin-top: 4px; }
  .mk1 i.a, .mk2 i.b { transform: scale(.7); } .mk1 i.b { width: 28px; height: 28px; } .mk2 i.a { width: 64px; height: 64px; } .mk3 i.a { width: 44px; height: 44px; }
  .bento { gap: 12px; }
  .bento > .card { padding: 18px; border-radius: 20px; }
  .b-bio h3 { font-size: 21px; margin-bottom: 8px; } .b-bio p { font-size: 14.5px; margin-bottom: 8px; }
  .avatar { width: 44px; height: 44px; border-radius: 15px; font-size: 24px; }
  .b-fact { min-height: 0; gap: 8px; } .b-fact .num { font-size: 34px; } .b-fact .lbl { font-size: 13px; }
  .b-skills h4, .b-for h4 { font-size: 11.5px; margin-bottom: 10px; }
  .tag { font-size: 12.5px; padding: 6px 11px; }
  .steps { gap: 12px; } .step { padding: 18px 16px; border-radius: 20px; }
  .step::before { font-size: 34px; margin-bottom: 8px; } .step h3 { font-size: 15.5px; } .step p { font-size: 13.5px; }
  .track { padding: 18px; gap: 14px; border-radius: 20px; } .track h3 { font-size: 19px; } .track p { font-size: 14px; }
  .links { gap: 10px; }
  .lk { padding: 13px 15px; gap: 12px; border-radius: 20px; }
  .lk .ic { width: 44px; height: 44px; border-radius: 14px; } .lk .ic svg { width: 22px; height: 22px; }
  .lk .ic.wide { min-width: 44px; padding: 0 12px; } .lk .ic.wide .wm svg { height: 15px; }
  .lk b { font-size: 15px; } .lk span { font-size: 12.5px; }
  .cta-band { padding: 30px 20px; border-radius: 28px; } .cta-band h2 { font-size: clamp(24px, 5.4vw, 36px); } .cta-band p { font-size: 15px; margin-bottom: 18px; }
  .pf-grid, .svc-grid, .tpl-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .svc { padding: 16px; border-radius: 20px; } .svc .ic { width: 40px; height: 40px; font-size: 20px; margin-bottom: 10px; border-radius: 13px; }
  .svc h3 { font-size: 15px; } .svc p { font-size: 12.5px; min-height: 0; margin-bottom: 10px; } .svc .price { font-size: 17px; }
  .prod .body { padding: 11px 13px 13px; } .prod h3 { font-size: 14px; } .prod p { font-size: 12px; } .prod .price { font-size: 16px; }
  .pf { border-radius: 18px; } .pf .cap { padding: 36px 12px 12px; } .pf .cap b { font-size: 14px; } .pf .cap span { font-size: 11.5px; }
  .pf.ph div { padding: 10px; font-size: 13px; } .pf.ph div i { font-size: 28px; } .pf.ph div small { font-size: 11px; }
  .page-head { padding: calc(var(--nav-h) + 30px) 0 18px; } .page-head h1 { font-size: clamp(30px, 6vw, 44px); } .page-head p { font-size: 15px; }
  .filters { margin: 18px 0 22px; } .filters button { padding: 8px 14px; font-size: 13px; }
  footer.foot { padding-bottom: 96px; }
}
@media (max-width: 560px) {
  section { padding: 46px 0; }
  .wrap { width: min(1160px, 100% - 28px); }
  .pf-grid, .svc-grid, .tpl-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero h1 { font-size: clamp(28px, 8.2vw, 36px); }
  .tpl-visual { height: 160px; }
  .tpl-visual .tcard { width: 112px; }
  .tpl-visual .t2 { margin-left: -56px; }
  .tpl-card { padding: 18px 16px; }
  .stage { max-width: 230px; }
  .b-bio h3 { font-size: 19px; }
  .fab { font-size: 13px; padding: 10px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
