/* Fonts self-hosted di /assets/css/fonts.css (di-link di layout <head>). @import Google Fonts pihak-ketiga DIHAPUS — hilangkan render-blocking 2-hop + DNS pihak-ketiga; Cardo & Syne yg tak terpakai didrop. */

/* ══════════════════════════════════════════
   CSS VARIABLES
   ══════════════════════════════════════════ */
:root {
  --bg-primary:    #08080F;
  --bg-card:       #0D0D1A;
  --bg-card-hover: #12122A;
  --border:        rgba(255,214,10,0.1);
  --border-hover:  rgba(255,214,10,0.5);
  --text-primary:  #E8F0FF;
  --text-secondary:#7A8AAA;
  --accent:        #FFD60A;
  --accent2:       #F5C518;
  --accent-red:    #FF2D55;
  --accent-dim:    rgba(255,214,10,0.08);
  --font-display:  'Barlow Condensed', sans-serif;
  --font-mono:     'Space Mono', monospace;
  --font-body:     'DM Sans', sans-serif;
  --nav-h:         72px;
  --radius:        12px;
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --reveal-dist:   22px;
  --reveal-dur:    .6s;
  --reveal-stag:   70ms;
  --hero-line:     #E8F0FF;
  --navbar-scroll: rgba(8,8,15,0.92);
  --shadow-card:   rgba(255,214,10,0.15);
  --glow-accent:   rgba(255,214,10,0.25);
}

body.light {
  --bg-primary:    #F5F3EE;
  --bg-card:       #FFFFFF;
  --bg-card-hover: #F0EDE8;
  --border:        rgba(0,0,0,0.08);
  --border-hover:  rgba(200,150,0,0.4);
  --text-primary:  #1A1814;
  --text-secondary:#6B6560;
  --accent:        #C49A00;
  --accent2:       #C49A00;
  --accent-red:    #C0262F;
  --accent-dim:    rgba(196,154,0,0.1);
  --hero-line:     #1A1814;
  --navbar-scroll: rgba(245,243,238,0.92);
  --shadow-card:   rgba(0,0,0,0.08);
  --glow-accent:   transparent;
}

/* ══════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}
body:not(.light) {
  background-image:
    radial-gradient(ellipse 800px 600px at 0% 0%,    rgba(255,214,10,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 600px 500px at 100% 100%, rgba(255,45,85,0.03) 0%, transparent 60%),
    radial-gradient(ellipse 500px 400px at 100% 0%,   rgba(255,214,10,0.03) 0%, transparent 55%),
    radial-gradient(circle 1px at center, rgba(255,214,10,0.05) 0%, transparent 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 32px 32px;
}
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  color: var(--text-primary);
  line-height: 1.1;
}

/* ══════════════════════════════════════════
   GLOBAL UI
   ══════════════════════════════════════════ */
#bg-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; transition: opacity 0.4s; }
body.light #bg-canvas { opacity: 0; }

.noise-overlay {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Custom cursor di-drop (tone premium) → kursor native; afford pointer di kontrol non-link */
button, summary, [role="button"] { cursor: pointer; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.accent-text { color: var(--accent); }
.red-text { color: var(--accent-red); }
.accent { color: var(--accent2); }

.section-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--accent); text-transform: uppercase; display: block; margin-bottom: 12px; opacity: 0.7;
}
body.light .section-tag { color: var(--text-secondary); }
.section-header { margin-bottom: 64px; }

/* ── RITME SECTION (premium: band tipis selang-seling utk memisahkan section) ── */
.section-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,214,10,0.018); }
body.light .section-band { background: rgba(0,0,0,0.015); }

/* ── TINGGI SECTION DINAMIS — ≥ 1 layar, ikut ukuran monitor ──
   min-height (BUKAN height) → konten > layar tetap memanjang, tak terpotong.
   dvh = viewport dinamis (anti-bug toolbar mobile); vh = fallback browser lama. */
.hero,
.services, .works, .experience, .skills, .testimonials, .contact {
  min-height: 100vh;
  min-height: 100dvh;
}
.services, .works, .experience, .skills, .testimonials, .contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero { display: flex; flex-direction: column; }
@media (min-width: 901px) {
  .hero .stats-row { margin-top: auto; }
}
/* Laptop lebar-tapi-pendek (viewport ≤880px): kecilkan judul + rapatkan meta-block supaya
   judul + sub + statistik + marquee muat 1 layar (marquee tak terpotong di bawah fold).
   `.hero `-prefix menaikkan spesifisitas (0,2,0) → MENANG atas base rule (.hero-line/.hero-title-wrap
   yang dideklarasi lebih bawah di file). Scoped max-height:880 → monitor eksternal tinggi tak tersentuh. */
@media (min-width: 901px) and (max-height: 880px) {
  .hero .hero-title-wrap { padding-top: calc(var(--nav-h) + 3vh); }
  .hero .hero-line       { font-size: clamp(2.5rem, min(13vw, 13vh), 160px); }
  .hero .hero-sub        { padding-top: 14px; padding-bottom: 16px; }
  .hero .stat-chip       { padding: 14px 32px; }
  .hero .marquee-yellow  { padding: 11px 0; }
}
.section-header h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.7rem, 5.5vw, 4.4rem);
  font-weight: 900; line-height: 1.02; letter-spacing: -0.015em; color: var(--text-primary);
}

/* ── HEADER EDITORIAL: ghost numeral + garis aksen (signature lintas-section) ──
   Numeral = DEKORATIF (::before), bukan heading → hierarki h1/h2 utuh (SEO/GEO). */
.section-header[data-num],
.contact-info[data-num] { position: relative; }
.section-header[data-num] > *,
.contact-info[data-num] > * { position: relative; z-index: 1; }
.section-header[data-num]::before,
.contact-info[data-num]::before {
  content: attr(data-num);
  position: absolute; top: -0.58em; left: -0.03em; z-index: 0;
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(110px, 16vh, 220px);
  line-height: 1; letter-spacing: 0; color: var(--accent); opacity: 0.07;
  pointer-events: none; user-select: none;
}
body.light .section-header[data-num]::before,
body.light .contact-info[data-num]::before { opacity: 0.06; }
/* Garis aksen eyebrow yang "menggambar" saat header masuk viewport */
.section-header[data-num] .section-tag::after {
  content: ''; display: inline-block; vertical-align: middle;
  width: 0; height: 1px; margin-left: 12px; background: var(--accent);
  transition: width 0.7s var(--ease-out) 0.15s;
}
.section-header.visible .section-tag::after { width: 46px; }
/* Parallax halus numeral — progressive enhancement (hanya bila didukung & motion diizinkan) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-header[data-num]::before,
    .contact-info[data-num]::before {
      animation: num-drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes num-drift { from { transform: translateY(34px); } to { transform: translateY(-34px); } }
  }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 13px;
  font-weight: 700; letter-spacing: 0.05em;
  transition: all 0.25s var(--ease-out); border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #08080F; border-color: var(--accent); box-shadow: 0 0 20px var(--glow-accent); }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 0 30px var(--accent), 0 8px 32px var(--glow-accent); }
.btn-ghost { background: transparent; color: var(--text-primary); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: 0 0 15px var(--glow-accent); }

/* ── SCROLL REVEAL (animation + properti `translate` → tak bentrok hover transform) ── */
.reveal { opacity: 0; }
.reveal.visible {
  animation: reveal-in var(--reveal-dur, .6s) var(--ease-out) both;
  animation-delay: calc(var(--reveal-i, 0) * var(--reveal-stag, 70ms));
}
@keyframes reveal-in {
  from { opacity: 0; translate: 0 var(--reveal-dist, 22px); }
  to   { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; animation: none !important; translate: none !important; }
}

/* Nav link aktif (scroll-spy) */
.nav-link.active { color: var(--accent); }

/* Scroll-progress tipis (CSS scroll-driven; progressive — invisible bila tak didukung; off saat reduced-motion) */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  transform-origin: 0 50%; transform: scaleX(0);
  background: var(--accent); box-shadow: 0 0 10px var(--glow-accent); pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: sp-grow linear both; animation-timeline: scroll(root); }
  @keyframes sp-grow { to { transform: scaleX(1); } }
}
@media (prefers-reduced-motion: reduce) { .scroll-progress { display: none; } }

/* ══════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  justify-content: space-between; padding: 0 32px;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
}
.navbar.scrolled { background: var(--navbar-scroll); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
body:not(.light) .navbar.scrolled { box-shadow: 0 1px 0 rgba(255,214,10,0.1), 0 4px 24px rgba(0,0,0,0.5); }
.nav-logo a { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 900; letter-spacing: 0.05em; color: var(--text-primary); display: inline-flex; align-items: center; gap: 8px; }
body:not(.light) .nav-logo a { color: var(--accent); text-shadow: 0 0 20px var(--glow-accent); }
/* Brand logo — themed horizontal lockup (nav + footer) + preloader mark (YF Lightning system) */
.brand-lockup { width: auto; display: block; }
.brand-lockup--light { display: none; }
body.light .brand-lockup--light { display: block; }
body.light .brand-lockup--dark { display: none; }
.nav-logo .brand-lockup { height: 30px; }
.footer-logo .brand-lockup { height: 24px; }
.pre-mark { width: 66px; height: 66px; display: block; margin: 0 auto 20px; filter: drop-shadow(0 0 22px var(--glow-accent)); animation: preMarkIn .6s var(--ease-out) both; }
@keyframes preMarkIn { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: scale(1); } }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; padding: 8px 14px; border-radius: 6px; color: var(--text-secondary); transition: color 0.2s, background 0.2s; }
.nav-link:hover { color: var(--accent); background: var(--accent-dim); }
body.light .nav-link:hover { color: var(--text-primary); background: rgba(128,128,128,0.08); }
.cta-nav { background: var(--accent-dim); color: var(--accent) !important; border: 1px solid var(--border); border-radius: 6px; }
body:not(.light) .cta-nav { box-shadow: 0 0 12px var(--glow-accent) inset; }
.cta-nav:hover { background: var(--accent) !important; color: #08080F !important; box-shadow: 0 0 20px var(--glow-accent) !important; }
.nav-toggle { display: none; background: none; border: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--text-primary); transition: all 0.3s; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease-out); font-size: 16px; flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); transform: rotate(20deg); box-shadow: 0 0 14px var(--glow-accent); }
.theme-toggle .icon-dark { display: block; }
.theme-toggle .icon-light { display: none; }
body.light .theme-toggle .icon-dark { display: none; }
body.light .theme-toggle .icon-light { display: block; }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  /* hero bg: 2MB PNG → AVIF 15KB / WebP 108KB via image-set (format fallback; webp universal 2026) */
  background-image: url('/assets/images/bg-hero.webp') !important;
  background-image: image-set(
    url('/assets/images/bg-hero.avif') type('image/avif'),
    url('/assets/images/bg-hero.webp') type('image/webp')
  ) !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to right, rgba(8,8,15,0.85) 0%, rgba(8,8,15,0.5) 50%, rgba(8,8,15,0.2) 100%);
}
body.light .hero::after {
  background: linear-gradient(to right, rgba(245,243,238,0.80) 0%, rgba(245,243,238,0.45) 50%, rgba(245,243,238,0.15) 100%);
}
body:not(.light) .hero-grid-lines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 600px 600px at -5% 30%, rgba(255,214,10,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 400px 400px at 105% 70%, rgba(255,45,85,0.06) 0%, transparent 55%);
}
body:not(.light) .hero-grid-lines::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(transparent 50%, rgba(0,0,0,0.03) 50%);
  background-size: 100% 4px;
  animation: scanline 8s linear infinite;
}
@keyframes scanline { from { background-position: 0 0; } to { background-position: 0 100vh; } }
body.light .hero-grid-lines { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.hero-grid, .blob, .hero-content, .hero-visual,
.hero-badge, .hero-title, .hero-desc, .hero-cta,
.hero-stats, .avatar-ring { display: none; }

.deco-circle {
  position: absolute; top: 80px; right: 60px; z-index: 2;
  width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(255,214,10,0.1); pointer-events: none;
  animation: rotateSlow 20s linear infinite;
}
body.light .deco-circle { border-color: rgba(245,197,24,0.12); }
.deco-circle::before {
  content: ''; position: absolute; top: 40px; left: 40px; right: 40px; bottom: 40px;
  border-radius: 50%; border: 1px solid rgba(255,214,10,0.06);
  animation: rotateSlow 15s linear infinite reverse;
}
body.light .deco-circle::before { border-color: rgba(245,197,24,0.07); }
@keyframes rotateSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-title-wrap { position: relative; z-index: 3; padding: 0 clamp(20px, 4vw, 48px); padding-top: calc(var(--nav-h) + 8vh); }
.line-outer { display: block; overflow: hidden; line-height: 1; }
.hero-line {
  display: block; font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, min(13vw, 15vh), 180px); font-weight: 400;
  letter-spacing: -0.01em; line-height: 0.92; color: var(--hero-line);
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transform: translateY(48px); opacity: 0;
  transition: clip-path 1s cubic-bezier(0.16,1,0.3,1), transform 1s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
  will-change: clip-path, transform, opacity; white-space: nowrap;
}
.hero-line.revealed { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: translateY(0); opacity: 1; }
.hero-line.line-1 { color: var(--text-primary); }
.hero-line.line-2 { color: var(--accent); margin-left: clamp(16px, 3.5vw, 72px); }
body:not(.light) .hero-line.line-2 { text-shadow: 0 0 30px var(--accent), 0 0 60px rgba(255,214,10,0.3); }
.hero-line.line-3 { color: var(--text-primary); }
.accent-red { color: var(--accent-red); }

.hero-sub {
  position: relative; z-index: 3; display: flex; flex-direction: row;
  justify-content: space-between; align-items: flex-end; padding: 24px 40px 32px;
  opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-sub.revealed { opacity: 1; transform: translateY(0); }
.hero-badge-wrap { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,214,10,0.06); border: 1px solid rgba(255,214,10,0.2);
  border-radius: 100px; padding: 6px 14px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--accent); width: fit-content; backdrop-filter: blur(8px);
}
body.light .hero-badge { background: rgba(196,154,0,0.08); border-color: rgba(196,154,0,0.2); }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; animation: avail-pulse 2s infinite; }
.sub-desc { font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--text-secondary); line-height: 1.8; max-width: 380px; }
.sub-desc em { color: var(--accent); font-style: normal; font-weight: 600; }
.sub-ctas { display: flex; gap: 12px; align-items: center; }
.btn-hero { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; padding: 12px 24px; border-radius: 6px; cursor: pointer; text-decoration: none; transition: all 0.25s var(--ease-out); display: inline-flex; align-items: center; gap: 8px; }
.btn-yellow { background: var(--accent); color: #08080F; border: 1px solid var(--accent); font-weight: 700; box-shadow: 0 0 20px var(--glow-accent); }
body.light .btn-yellow { color: #1a1200; box-shadow: none; }
.btn-yellow:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 0 30px var(--accent), 0 8px 28px var(--glow-accent); }
.btn-outline { background: rgba(255,214,10,0.05); color: var(--text-secondary); border: 1px solid var(--border); backdrop-filter: blur(8px); }
body.light .btn-outline { background: rgba(128,128,128,0.08); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: 0 0 12px var(--glow-accent); }

.stats-row {
  position: relative; z-index: 3; display: flex; flex-direction: column;
}
/* Panel kaca (tint + blur) hanya di baris statistik → .hero-sub TRANSPARAN, gambar hero
   tembus di belakang badge/deskripsi/tombol. Fade chrome (bukan opacity) supaya chip tetap stagger sendiri. */
.stat-chips-row {
  display: flex; border-top: 1px solid transparent; background: transparent;
  transition: background-color 0.8s ease, border-color 0.8s ease;
}
.stats-row.revealed .stat-chips-row { border-top-color: var(--border); background: rgba(8,8,15,0.7); backdrop-filter: blur(12px); }
body.light .stats-row.revealed .stat-chips-row { background: rgba(245,243,238,0.7); }
.stat-chip { flex: 1; padding: 20px 32px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px;
  opacity: 0; translate: 0 10px; transition: background 0.3s, opacity 0.6s ease, translate 0.6s ease; }
.stats-row.revealed .stat-chip { opacity: 1; translate: 0 0; }
.stat-chips-row .stat-chip:nth-child(2) { transition-delay: .06s; }
.stat-chips-row .stat-chip:nth-child(3) { transition-delay: .12s; }
.stat-chips-row .stat-chip:nth-child(4) { transition-delay: .18s; }
.stat-chip:last-child { border-right: none; }
.stat-chip:hover { background: var(--accent-dim); }
.sc-num { font-family: 'Bebas Neue', sans-serif; font-size: 40px; color: var(--accent); line-height: 1; }
body:not(.light) .sc-num { text-shadow: 0 0 20px var(--glow-accent); }
.sc-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--text-secondary); text-transform: uppercase; }

.scroll-hint { position: absolute; top: 0; bottom: 0; right: 36px; height: fit-content; margin-block: auto; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; transition: opacity 0.6s ease; }
.scroll-hint.revealed { opacity: 1; }
.sh-text { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em; color: var(--text-secondary); writing-mode: vertical-rl; text-transform: uppercase; }
.sh-line { width: 1px; height: 52px; background: var(--border); position: relative; overflow: hidden; }
.sh-line::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--accent); animation: linedown 2s ease-in-out infinite; }
@keyframes linedown { 0% { top: -100%; } 100% { top: 200%; } }

/* ══════════════════════════════════════════
   MARQUEE
   ══════════════════════════════════════════ */
/* Satu strip "tech stack" yang tenang (premium): muted, seamless, fade di tepi. */
.marquee-yellow {
  position: relative; z-index: 2; overflow: hidden; padding: 16px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--accent-dim);
  opacity: 0; transition: opacity 0.6s ease;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-yellow.revealed { opacity: 1; }
.mq-track { display: flex; width: max-content; white-space: nowrap; animation: mq-scroll 42s linear infinite; }
.mq-track:hover { animation-play-state: paused; }
.mq-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-secondary); padding: 0 22px;
}
.mq-sep { color: var(--accent); opacity: 0.7; }
@keyframes mq-scroll { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }

/* ══════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════ */
.services { padding: clamp(88px, 11vw, 132px) 0; position: relative; }
.services .section-header h2 {
  font-family: Georgia, 'Times New Roman', serif; /* Cardo didrop (self-host): hemat 33.8KB utk 1 rule; pakai system serif */
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; backdrop-filter: blur(8px);
}
body:not(.light) .service-card { background: rgba(13,13,26,0.85); }
.service-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 50% 0%, rgba(255,214,10,0.06), transparent 70%); opacity: 0; transition: opacity 0.4s; }
body.light .service-card::before { background: radial-gradient(circle at 50% 0%, rgba(245,197,24,0.07), transparent 70%); }
.service-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: 0 0 30px var(--shadow-card), 0 20px 60px rgba(0,0,0,0.4); }
.service-card:hover::before { opacity: 1; }
.card-number { font-family: 'Bebas Neue', sans-serif; font-size: 30px; line-height: 1; color: var(--accent); opacity: 0.5; margin-bottom: 16px; letter-spacing: 0.02em; transition: opacity 0.3s; }
body:not(.light) .card-number { text-shadow: 0 0 18px var(--glow-accent); }
.service-card:hover .card-number { opacity: 1; }
.card-icon { margin-bottom: 16px; }
.service-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; font-weight: 900; margin-bottom: 10px; color: var(--text-primary); line-height: 1.2; -webkit-font-smoothing: antialiased; }
.service-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 20px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--font-mono); font-size: 11px; background: var(--accent-dim); border: 1px solid var(--border); padding: 3px 10px; border-radius: 4px; color: var(--accent); letter-spacing: 0.04em; }
body.light .tag { color: var(--text-secondary); }
.card-arrow { position: absolute; top: 24px; right: 24px; color: var(--accent); opacity: 0; transition: opacity 0.3s, transform 0.3s; }
.service-card:hover .card-arrow { opacity: 1; transform: translate(4px, -4px); }

/* ══════════════════════════════════════════
   WORKS — MASONRY
   ══════════════════════════════════════════ */
/* ══════════════════════════════════════════
   WORKS — MASONRY
   ══════════════════════════════════════════ */
.works { padding: clamp(88px, 11vw, 132px) 0; position: relative; }
.works-grid { display: none !important; }

.masonry-grid {
  columns: 3;
  column-gap: 16px;
}
@media (max-width: 900px) { .masonry-grid { columns: 2; } }
@media (max-width: 560px)  { .masonry-grid { columns: 1; } }

.masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: block;
}
body:not(.light) .masonry-item { background: rgba(13,13,26,0.9); }
.masonry-item:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 0 28px var(--shadow-card), 0 16px 48px rgba(0,0,0,0.35); }
.masonry-featured .masonry-thumb { height: 460px; }
.masonry-inner { display: block; text-decoration: none; color: inherit; }
.masonry-thumb { position: relative; height: 280px; overflow: hidden; background: var(--bg-card); }
.masonry-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease-out); }
.masonry-item:hover .masonry-img { transform: scale(1.05); }
.masonry-bg { width: 100%; height: 100%; transition: transform 0.5s var(--ease-out); }
.masonry-item:hover .masonry-bg { transform: scale(1.05); }
.masonry-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; backdrop-filter: blur(2px); }
.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-visit { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; background: var(--accent); color: #08080F; font-weight: 700; padding: 9px 18px; border-radius: 6px; }
.masonry-info { padding: 14px 16px 16px; border-top: 1px solid var(--border); }
.masonry-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.masonry-cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; }
.masonry-year { font-family: var(--font-mono); font-size: 10px; color: var(--text-secondary); }
.masonry-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 900; color: var(--text-primary); line-height: 1.2; margin-bottom: 6px; -webkit-font-smoothing: antialiased; }
.masonry-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* ══════════════════════════════════════════
   EXPERIENCE — ACCORDION
   ══════════════════════════════════════════ */
.experience { padding: clamp(88px, 11vw, 132px) 0; position: relative; }

.accordion {
  counter-reset: acc;
  display: flex; flex-direction: column; gap: 10px;
  max-width: 820px;
}
.acc-item {
  counter-increment: acc;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-card);
  transition: border-color 0.3s, box-shadow 0.3s;
}
body:not(.light) .acc-item { background: rgba(13,13,26,0.7); }
.acc-item.acc-open { border-color: var(--border-hover); box-shadow: 0 0 24px var(--shadow-card); }
.acc-header {
  width: 100%; display: flex; align-items: center; gap: 18px;
  padding: 20px 24px; background: transparent; border: none;
  cursor: pointer; text-align: left; position: relative;
  color: var(--text-primary); transition: background 0.25s;
}
/* Nomor urut (timeline) — dekoratif, via CSS counter */
.acc-header::before {
  content: counter(acc, decimal-leading-zero);
  font-family: 'Bebas Neue', sans-serif; font-size: 22px; line-height: 1;
  color: var(--accent); opacity: 0.45; min-width: 34px; flex-shrink: 0;
  transition: opacity 0.25s;
}
.acc-item.acc-open .acc-header::before { opacity: 1; }
/* Aksen kiri saat item aktif */
.acc-header::after {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 0; background: var(--accent); transition: height 0.3s var(--ease-out);
}
.acc-item.acc-open .acc-header::after { height: 56%; }
.acc-header:hover { background: var(--accent-dim); }
.acc-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 900; letter-spacing: 0.01em; flex: 1; -webkit-font-smoothing: antialiased; color: var(--text-primary); }
.acc-year { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-secondary); flex-shrink: 0; }
.acc-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; transition: transform 0.3s, border-color 0.3s; color: var(--accent); }
.acc-item.acc-open .acc-icon { transform: rotate(45deg); border-color: var(--accent); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.16,1,0.3,1); }
.acc-item.acc-open .acc-body { max-height: 640px; }
.acc-inner { padding: 6px 24px 24px; }
.acc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.acc-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; padding: 5px 14px; border-radius: 100px; background: var(--accent-dim); border: 1px solid var(--border); color: var(--accent); }
body.light .acc-tag { color: var(--text-secondary); }
.acc-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
@media (max-width: 560px) {
  .acc-header { gap: 12px; padding: 16px 16px; }
  .acc-header::before { display: none; }  /* nomor timeline (dekoratif) disembunyikan agar tak sesak */
}

/* ══════════════════════════════════════════
   SKILLS
   ══════════════════════════════════════════ */
.skills { padding: clamp(88px, 11vw, 132px) 0; position: relative; }
/* Kapabilitas: grid tech-stack (chip, tanpa %) */
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; }
.cap-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); opacity: .8; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
body.light .cap-label { color: var(--text-secondary); opacity: 1; }
.cap-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.cap-items { display: flex; flex-wrap: wrap; gap: 8px; }
.cap-chip { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--text-primary); background: var(--bg-card); border: 1px solid var(--border); padding: 7px 12px; border-radius: 7px; transition: border-color .25s, color .25s, transform .25s; }
body:not(.light) .cap-chip { background: rgba(13,13,26,0.7); }
.cap-chip:hover { border-color: var(--border-hover); color: var(--accent); transform: translateY(-2px); }

/* Proses: 4 langkah cara kerja */
.proc-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; }
.proc-step { padding: 26px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); transition: border-color .25s, transform .25s, box-shadow .25s; }
body:not(.light) .proc-step { background: rgba(13,13,26,0.7); }
.proc-step:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 0 24px var(--shadow-card); }
.proc-no { font-family: 'Bebas Neue', sans-serif; font-size: 30px; color: var(--accent); line-height: 1; }
body:not(.light) .proc-no { text-shadow: 0 0 18px var(--glow-accent); }
.proc-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 900; color: var(--text-primary); margin: 10px 0 8px; line-height: 1.15; }
.proc-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.proc-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 36px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; transition: gap .25s; }
.proc-cta:hover { gap: 14px; }
.proc-cta svg { transition: transform .25s; }
.proc-cta:hover svg { transform: translateX(3px); }

/* ══════════════════════════════════════════
   CONTACT + TESTIMONIAL
   ══════════════════════════════════════════ */
.contact { padding: 100px 0 140px; }

.contact-testi-wrap {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  grid-template-rows: 1fr;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  align-items: stretch;
}

/* KIRI */
.contact-left-col {
  padding: 48px 36px;
  border-right: 1px solid var(--border);
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-info { width: 100%; }
.contact-info h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -0.01em; margin-bottom: 14px;
  -webkit-font-smoothing: antialiased;
}
.contact-info > p { font-size: 13px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 28px; }
.contact-channels { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.channel-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: rgba(255,214,10,0.03); border: 1px solid rgba(255,214,10,0.08);
  border-radius: 8px; text-decoration: none; color: inherit;
  transition: border-color 0.25s, background 0.25s, transform 0.25s; cursor: pointer;
}
body.light .channel-item { background: var(--bg-card); border-color: var(--border); }
.channel-item:hover { border-color: rgba(255,214,10,0.35); background: rgba(255,214,10,0.06); transform: translateX(4px); }
body.light .channel-item:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.ch-icon { width: 34px; height: 34px; border-radius: 6px; flex-shrink: 0; background: rgba(255,214,10,0.08); border: 1px solid rgba(255,214,10,0.15); display: flex; align-items: center; justify-content: center; color: var(--accent); }
body.light .ch-icon { background: var(--accent-dim); border-color: var(--border); }
.channel-item > div { display: flex; flex-direction: column; gap: 2px; }
.ch-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; color: var(--text-secondary); text-transform: uppercase; }
.ch-value { font-size: 12px; color: var(--text-primary); }
.availability-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,255,159,0.06); border: 1px solid rgba(0,255,159,0.2); border-radius: 100px; padding: 6px 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: #00FF9F; }
body.light .availability-badge { background: rgba(45,139,87,0.07); border-color: rgba(45,139,87,0.25); color: #2D8B57; }
.avail-dot { width: 7px; height: 7px; border-radius: 50%; background: #00FF9F; animation: avail-pulse 2s infinite; }
body.light .avail-dot { background: #2D8B57; }
@keyframes avail-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); } 50% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } }

/* TESTIMONI — section sendiri, kartu on-brand (dark + aksen kuning) */
.testimonials { padding: clamp(88px, 11vw, 132px) 0; position: relative; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.testi-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; transition: border-color .3s, transform .3s, box-shadow .3s; }
body:not(.light) .testi-card { background: rgba(13,13,26,0.7); }
.testi-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 0 28px var(--shadow-card), 0 16px 48px rgba(0,0,0,0.35); }
.testi-quote { font-family: 'Bebas Neue', sans-serif; font-size: 56px; line-height: 0.4; color: var(--accent); opacity: .35; user-select: none; }
.testi-text { font-size: 14px; color: var(--text-secondary); line-height: 1.8; flex: 1; margin: 0; font-style: normal; }
.testi-author { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border); margin-top: auto; }
.testi-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-dim); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: 'Barlow Condensed', sans-serif; font-size: 17px; font-weight: 900; color: var(--accent); flex-shrink: 0; }
.testi-name { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 900; color: var(--text-primary); -webkit-font-smoothing: antialiased; }
.testi-role { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; color: var(--text-secondary); margin-top: 2px; }

/* KANAN: Form */
.contact-form-col {
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
body:not(.light) .contact-form-col { background: rgba(13,13,26,0.95); }
.contact-glow { position: absolute; top: -80px; right: -80px; z-index: 0; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,10,0.06), transparent 70%); pointer-events: none; }
body.light .contact-glow { background: radial-gradient(circle, rgba(196,154,0,0.06), transparent 70%); }

/* sembunyikan elemen lama */
.contact-form-bottom,
.contact-form-wrap,
.contact-wrapper { display: none !important; }

/* FORM */
.cf-form { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.cf-field { position: relative; }
.cf-field input, .cf-field textarea {
  width: 100%; background: rgba(255,214,10,0.03);
  border: 1px solid rgba(255,214,10,0.1); border-radius: 6px;
  padding: 22px 14px 8px; font-family: var(--font-body); font-size: 13px;
  color: var(--text-primary); outline: none;
  transition: border-color 0.25s, box-shadow 0.25s; resize: none;
}
body.light .cf-field input, body.light .cf-field textarea { background: rgba(0,0,0,0.03); border-color: var(--border); }
.cf-field textarea { min-height: 90px; padding-top: 26px; }
.cf-field input:focus, .cf-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(255,214,10,0.18); }
body.light .cf-field input:focus, body.light .cf-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(196,154,0,0.15); }
.cf-field.valid input, .cf-field.valid textarea { border-color: rgba(0,255,159,0.45); }
.cf-field.error input, .cf-field.error textarea { border-color: rgba(255,45,85,0.55); }
.cf-field label { position: absolute; left: 14px; top: 15px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: rgba(255,214,10,0.4); text-transform: uppercase; transition: top 0.2s, font-size 0.2s, color 0.2s; pointer-events: none; }
body.light .cf-field label { color: var(--text-secondary); }
.cf-field input:focus ~ label,
.cf-field input:not(:placeholder-shown) ~ label,
.cf-field textarea:focus ~ label,
.cf-field textarea:not(:placeholder-shown) ~ label { top: 6px; font-size: 8px; }
.cf-field input:focus ~ label, .cf-field textarea:focus ~ label { color: var(--accent); }
.cf-err { display: none; font-family: var(--font-mono); font-size: 9px; color: #FF2D55; margin-top: 4px; padding-left: 4px; }
.cf-field.error .cf-err { display: block; }
.cf-count { display: block; text-align: right; margin-top: 3px; font-family: var(--font-mono); font-size: 9px; color: rgba(255,214,10,0.25); }
.cf-count.warn { color: #F5C518; }
.cf-count.over { color: #FF2D55; }
.cf-submit {
  position: relative; overflow: hidden; background: transparent;
  border: 1px solid var(--accent); border-radius: 6px; padding: 13px 24px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--accent); text-transform: uppercase; cursor: pointer;
  transition: all 0.3s; display: flex; align-items: center;
  justify-content: center; gap: 10px; width: 100%; margin-top: 4px;
}
.cf-submit:hover { background: rgba(255,214,10,0.07); transform: translateY(-2px); color: #fff; }
body.light .cf-submit { border-color: var(--accent); color: var(--accent); }
body.light .cf-submit:hover { background: var(--accent-dim); transform: translateY(-2px); }
.cf-btn-text { position: relative; }
/* Glitch hover di-drop demi tone premium → hover = fill bersih + arrow geser (di atas). */
.cf-arrow { transition: transform 0.25s; flex-shrink: 0; }
.cf-submit:hover .cf-arrow { transform: translateX(4px); }
.cf-submit.loading { pointer-events: none; color: rgba(255,214,10,0.3); }
.cf-submit.loading .cf-btn-text, .cf-submit.loading .cf-arrow { opacity: 0; }
.cf-spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,214,10,0.2); border-top-color: var(--accent); animation: cf-spin 0.8s linear infinite; position: absolute; }
.cf-submit.loading .cf-spinner { display: block; }
@keyframes cf-spin { to { transform: rotate(360deg); } }
.cf-success { display: none; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.cf-success-icon { width: 56px; height: 56px; border-radius: 50%; border: 2px solid #00FF9F; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 20px rgba(0,255,159,0.25); animation: cf-pop 0.5s cubic-bezier(0.16,1,0.3,1); }
@keyframes cf-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.cf-terminal { width: 100%; text-align: left; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: rgba(255,214,10,0.65); line-height: 2; background: rgba(255,214,10,0.03); border: 1px solid rgba(255,214,10,0.1); border-radius: 6px; padding: 14px 16px; }
body.light .cf-terminal { background: rgba(0,0,0,0.03); border-color: var(--border); color: var(--text-secondary); }
.cf-tline { opacity: 0; animation: cf-line 0.4s ease forwards; }
.cf-tline:nth-child(1) { animation-delay: 0.1s; }
.cf-tline:nth-child(2) { animation-delay: 0.5s; }
.cf-tline:nth-child(3) { animation-delay: 0.9s; }
.cf-tline:nth-child(4) { animation-delay: 1.3s; }
.cf-tline--green { color: #00FF9F !important; }
body.light .cf-tline--green { color: #2D8B57 !important; }
@keyframes cf-line { to { opacity: 1; } }
.cf-cursor { display: inline-block; width: 7px; height: 12px; background: var(--accent); vertical-align: middle; animation: cf-blink 1s step-end infinite; }
@keyframes cf-blink { 0%,100%{opacity:1} 50%{opacity:0} }
.cf-error-box { display: none; margin-top: 10px; padding: 10px 14px; background: rgba(255,45,85,0.06); border: 1px solid rgba(255,45,85,0.25); border-radius: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: #FF2D55; }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer { border-top: 1px solid var(--border); padding: 32px 0; position: relative; z-index: 1; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 900; display: block; margin-bottom: 6px; color: var(--text-primary); }
body:not(.light) .footer-logo { color: var(--accent); }
.footer-left p { font-size: 13px; color: var(--text-secondary); }
.footer-right { display: flex; gap: 20px; }
.footer-social { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-secondary); transition: color 0.2s, text-shadow 0.2s; }
.footer-social:hover { color: var(--accent); }
body:not(.light) .footer-social:hover { text-shadow: 0 0 10px var(--accent); }

/* ══════════════════════════════════════════
   PRELOADER
   ══════════════════════════════════════════ */
#preloader { position: fixed; inset: 0; z-index: 99999; background: #08080F; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity 0.8s ease, visibility 0.8s ease; overflow: hidden; }
#preloader.pre-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#preloader::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(circle 1px at center, rgba(255,214,10,0.06) 0%, transparent 100%); background-size: 28px 28px; opacity: 0.4; }
#preloader::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.2) 3px, rgba(0,0,0,0.2) 4px); animation: pre-scanmove 8s linear infinite; }
@keyframes pre-scanmove { from { background-position: 0 0; } to { background-position: 0 100vh; } }
.pre-glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,10,0.05) 0%, transparent 65%); pointer-events: none; z-index: 0; animation: pre-glow-pulse 3s ease-in-out infinite; }
@keyframes pre-glow-pulse { 0%,100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
.pre-corner { position: absolute; width: 28px; height: 28px; z-index: 2; }
.pre-tl { top: 28px; left: 28px; border-top: 1px solid rgba(255,214,10,0.4); border-left: 1px solid rgba(255,214,10,0.4); }
.pre-tr { top: 28px; right: 28px; border-top: 1px solid rgba(255,214,10,0.4); border-right: 1px solid rgba(255,214,10,0.4); }
.pre-bl { bottom: 28px; left: 28px; border-bottom: 1px solid rgba(255,214,10,0.4); border-left: 1px solid rgba(255,214,10,0.4); }
.pre-br { bottom: 28px; right: 28px; border-bottom: 1px solid rgba(255,214,10,0.4); border-right: 1px solid rgba(255,214,10,0.4); }
.pre-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.pre-status { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.2em; color: rgba(255,214,10,0.5); text-transform: uppercase; animation: pre-blink 1.2s step-end infinite; }
@keyframes pre-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }
.pre-name { font-family: 'Bebas Neue', sans-serif; font-size: clamp(64px,12vw,120px); letter-spacing: 0.1em; color: #E8F0FF; position: relative; line-height: 1; text-shadow: 0 0 40px rgba(255,214,10,0.15); user-select: none; }
.pre-name::before { content: attr(data-text); position: absolute; inset: 0; font-family: 'Bebas Neue',sans-serif; font-size: inherit; letter-spacing: inherit; line-height: 1; color: #FFD60A; clip-path: polygon(0 20%,100% 20%,100% 42%,0 42%); text-shadow: 3px 0 #FFD60A,0 0 14px rgba(255,214,10,0.9); animation: pre-glitch1 4s infinite; }
.pre-name::after { content: attr(data-text); position: absolute; inset: 0; font-family: 'Bebas Neue',sans-serif; font-size: inherit; letter-spacing: inherit; line-height: 1; color: #FF2D55; clip-path: polygon(0 58%,100% 58%,100% 76%,0 76%); text-shadow: -3px 0 #FF2D55,0 0 14px rgba(255,45,85,0.9); animation: pre-glitch2 4s infinite; }
@keyframes pre-glitch1 { 0%,88%,100%{transform:translateX(0);opacity:0} 89%{transform:translateX(-5px);opacity:1} 90%{transform:translateX(5px);opacity:1} 91%{transform:translateX(-3px);opacity:.8} 92%{transform:translateX(0);opacity:0} 94%{transform:translateX(4px);opacity:1} 95%{transform:translateX(-2px);opacity:.6} 96%{transform:translateX(0);opacity:0} }
@keyframes pre-glitch2 { 0%,85%,100%{transform:translateX(0);opacity:0} 86%{transform:translateX(5px);opacity:1} 87%{transform:translateX(-4px);opacity:.9} 88%{transform:translateX(2px);opacity:0} 93%{transform:translateX(-5px);opacity:1} 94%{transform:translateX(3px);opacity:.7} 95%{transform:translateX(0);opacity:0} }
.pre-sub { font-family: 'Space Mono',monospace; font-size: 12px; letter-spacing: 0.24em; color: rgba(255,214,10,0.55); text-transform: uppercase; margin-top: -18px; }
.pre-progress-wrap { display: flex; flex-direction: column; gap: 10px; width: min(400px,80vw); }
.pre-progress-meta { display: flex; justify-content: space-between; font-family: 'Space Mono',monospace; font-size: 10px; letter-spacing: 0.14em; color: rgba(255,214,10,0.35); text-transform: uppercase; }
.pre-track { height: 2px; background: rgba(255,214,10,0.07); border-radius: 1px; position: relative; overflow: visible; }
.pre-fill { height: 100%; width: 0%; border-radius: 1px; background: linear-gradient(90deg,rgba(255,214,10,0.35),#FFD60A); box-shadow: 0 0 8px #FFD60A,0 0 20px rgba(255,214,10,0.4); transition: width 0.08s linear; position: relative; }
.pre-fill::after { content: ''; position: absolute; right: -6px; top: -6px; width: 14px; height: 14px; border-radius: 50%; background: #FFD60A; box-shadow: 0 0 10px #FFD60A,0 0 24px rgba(255,214,10,0.7); border: 2px solid #08080F; }
.pre-pct { font-family: 'Bebas Neue',sans-serif; font-size: 40px; letter-spacing: 0.04em; color: #FFD60A; text-shadow: 0 0 18px rgba(255,214,10,0.6); text-align: center; line-height: 1; }
.pre-log { font-family: 'Space Mono',monospace; font-size: 10px; letter-spacing: 0.1em; color: rgba(255,214,10,0.28); min-height: 14px; text-align: center; }
body.pre-done #preloader { opacity: 0; visibility: hidden; pointer-events: none; }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; justify-content: flex-end; padding: 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .works-grid { grid-template-columns: 1fr; }
  .masonry-grid { grid-template-columns: 1fr; }
  .proc-strip { grid-template-columns: 1fr 1fr; }
  .contact-testi-wrap { grid-template-columns: 1fr; }
  .contact-form-col { border-left: none; border-top: 1px solid var(--border); }
}
@media (max-width: 768px) {
  .hero-sub { flex-direction: column; padding: 20px 24px 28px; }
  .sub-desc { max-width: 100%; }
  .stat-chip { padding: 16px; }
  .sc-num { font-size: 30px; }
  .scroll-hint { display: none; }
  .deco-circle { display: none; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .proc-strip { grid-template-columns: 1fr; }
  .contact-left-col { padding: 32px 24px; }
  .contact-form-col { padding: 24px 18px; }
}
@media (max-width: 480px) {
  .stat-chips-row { flex-wrap: wrap; }
  .stat-chips-row .stat-chip { flex: 0 0 50%; border-bottom: 1px solid var(--border); }
  .sub-ctas { flex-direction: column; width: 100%; }
  .btn-hero { justify-content: center; }
}

/* (blok .testi-* lama yang konflik dihapus — testimoni kini section sendiri di atas) */
.cf-captcha-wrap {
    border: 1px solid rgba(255,214,10,0.15);
    border-radius: 6px;
    padding: 16px 14px 10px;
    position: relative;
    background: rgba(255,214,10,0.03);
}
body.light .cf-captcha-wrap {
    background: rgba(0,0,0,0.02);
    border-color: var(--border);
}

.cf-captcha-question {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}
body.light .cf-captcha-question { color: var(--text-secondary); }

.cf-captcha-wrap input[type="text"] {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,214,10,0.2);
    border-radius: 0;
    padding: 8px 0;
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    outline: none;
    box-shadow: none !important;
}
body.light .cf-captcha-wrap input[type="text"] {
    border-bottom-color: var(--border);
}
.cf-captcha-wrap input[type="text"]:focus {
    border-bottom-color: var(--accent);
    box-shadow: none !important;
}

.cf-captcha-wrap label {
    position: absolute;
    top: 16px;
    left: 14px;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.14em;
    color: rgba(255,214,10,0.4);
    text-transform: uppercase;
    pointer-events: none;
}
body.light .cf-captcha-wrap label { color: var(--text-secondary); }

/* ══════════════════════════════════════════
   TRACK 2 PAGES — shared shell + components
   (jasa / lokasi / portfolio / blog / pages)
   Memakai token & pola yang sama dengan komponen existing
   (.container, .service-card, .tag, .btn). Tema light/dark
   otomatis lewat CSS variables.
   ══════════════════════════════════════════ */

/* Shell: clear fixed navbar, center, lebar baca enak */
.page-container {
  max-width: 980px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 56px) 24px 96px;
  position: relative;
  z-index: 1;
}

/* Breadcrumb (partials/breadcrumb.php) */
.breadcrumb { margin-bottom: 28px; }
.breadcrumb ol {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px; margin: 0; padding: 0;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); }
.breadcrumb li:not(:last-child)::after { content: '/'; opacity: 0.45; }
.breadcrumb a { color: var(--text-secondary); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--text-primary); }

/* Page header */
.page-header { margin-bottom: 44px; }
.page-header h1 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05;
  letter-spacing: -0.01em; color: var(--text-primary); margin-bottom: 14px;
}
.page-header .lead { font-size: 1.15rem; color: var(--text-secondary); line-height: 1.7; max-width: 62ch; }

/* Section sebagai card (khusus service detail) */
.service-detail > section {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 32px; margin-bottom: 24px;
}
.service-detail > section > h2 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1;
  color: var(--text-primary); margin-bottom: 18px;
}
.service-detail p { color: var(--text-secondary); line-height: 1.75; }

/* Price summary */
.price-display {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.3rem); color: var(--accent);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 12px;
}
.price-divider { color: var(--text-secondary); }
.price-note { font-size: 0.95rem; }

/* Highlights */
.highlights ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.highlights li { position: relative; padding-left: 28px; color: var(--text-secondary); line-height: 1.6; }
.highlights li::before { content: '→'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }

/* Tech tags (mirror .tag existing) */
.tech-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.tech-tag {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em;
  background: var(--accent-dim); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 6px; color: var(--accent);
}

/* FAQ accordion (partials/faq-section.php) — divided list di dalam card */
.faq-list { display: grid; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  cursor: pointer; list-style: none; padding: 16px 0;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.18rem;
  color: var(--text-primary); display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform 0.2s var(--ease-out); }
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-question:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.faq-answer { padding: 0 0 18px; }
.faq-answer p { margin: 0; color: var(--text-secondary); line-height: 1.75; }

/* CTA block */
.cta-block { text-align: center; }
.cta-block h2 { margin-bottom: 12px; }
.cta-block p { margin: 0 auto 24px; max-width: 52ch; }

/* /proses — Process & Methodology.
   (1) Nomor sudah ada di judul tiap step (string lang) → buang marker <ol> bawaan biar tak DOBEL.
   (2) Ritme vertikal antar blok besar: steps → Payment Scheme → CTA. */
.process-steps { list-style: none; padding-left: 0; margin: 32px 0; }
.process-steps > li { margin-bottom: 24px; }
.page-proses .payment-scheme,
.page-proses .cta-block { margin-top: 56px; }

/* Track 2 views memakai .btn-primary/.btn-secondary tanpa base .btn — lengkapi di sini */
.page-container .btn-primary,
.page-container .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.05em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: all 0.25s var(--ease-out); margin: 6px;
}
.page-container .btn-secondary { background: transparent; color: var(--text-primary); border-color: var(--border); }
.page-container .btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Placeholder Track 2C — subtle */
.placeholder-content em { color: var(--text-secondary); opacity: 0.7; }

@media (max-width: 640px) {
  .page-container { padding-top: calc(var(--nav-h) + 32px); }
  .service-detail > section { padding: 22px; }
}

/* ══════════════════════════════════════════
   LANGUAGE SWITCHER (navbar) — dropdown <details>, no-JS
   ══════════════════════════════════════════ */
/* Kelompokkan kontrol kanan: bahasa + tema + hamburger menempel */
.navbar .nav-actions { display: flex; align-items: center; gap: 10px; }

.lang-switcher { position: relative; }
.lang-switcher > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--text-secondary); background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 6px; padding: 8px 12px;
  transition: color 0.2s, border-color 0.2s;
}
.lang-switcher > summary::-webkit-details-marker { display: none; }
.lang-switcher > summary::after { content: '▾'; font-size: 10px; opacity: 0.7; }
.lang-switcher > summary:hover { color: var(--accent); border-color: var(--accent); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 200;
  min-width: 168px; margin: 0; padding: 6px; list-style: none;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; box-shadow: 0 8px 32px rgba(0,0,0,0.30);
}
.lang-menu li { margin: 0; }
.lang-menu a {
  display: block; padding: 8px 12px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
}
.lang-menu a:hover { background: var(--accent-dim); color: var(--accent); }
.lang-menu a.is-active { color: var(--accent); font-weight: 700; }

/* <picture> dari responsive_img() harus mengisi container seperti <img> aslinya */
.masonry-thumb picture, .portfolio-image-link picture, .hero-image picture { display: block; width: 100%; height: 100%; }
.masonry-thumb picture .masonry-img { width: 100%; height: 100%; }

/* A1 GEO — answer-first TL;DR callout di halaman layanan (override card section generik) */
.service-detail .tldr { background: var(--accent-dim); border-left: 4px solid var(--accent); border-radius: 10px; padding: 18px 22px; margin: 0 0 36px; }
.service-detail .tldr p { margin: 0; font-size: 1.05rem; line-height: 1.7; }
.service-detail .tldr strong { color: var(--accent); margin-right: 4px; }

/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE & MOBILE SYSTEM (overhaul — 2026-05-30)
   Sistem terdokumentasi di atas pondasi existing (additive, non-destruktif).
   Skala breakpoint kanonik : 1100 / 900 / 768 / 640 / 600 / 480 / 380 px.
   Tujuan: laptop, Android (≥360px), iPhone (notch + Safari) tampil rapi.
   Tiap blok di bawah memperbaiki kelas bug mobile yang nyata, BUKAN
   merombak layout grid/flex yang sudah berfungsi.
   ════════════════════════════════════════════════════════════════════ */

/* 1) TOUCH & HYBRID POINTER ─────────────────────────────────────────
   Custom cursor sudah di-drop → kursor native berlaku di semua perangkat;
   afford pointer/text ditangani aturan dasar (button/summary + native <a>). */

/* 2) PREFERS-REDUCED-MOTION (a11y) ──────────────────────────────────
   Hormati setting OS. Banyak animasi (marquee, glitch, scanline, reveal).
   Reveal pakai class via JS → konten tetap tampil walau transisi ~0. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 3) iOS ANTI ZOOM-ON-FOCUS ─────────────────────────────────────────
   Safari iOS auto-zoom kalau input <16px saat difokus. Naikkan ke 16px
   di mobile (desktop tetap 13px demi densitas form). */
@media (max-width: 768px) {
  .cf-field input, .cf-field textarea { font-size: 16px; }
}

/* 4) TAP TARGET ≥44px (Apple HIG / Material 48dp) ───────────────────
   Hanya di perangkat sentuh supaya tampilan mouse tak berubah. */
@media (pointer: coarse) {
  .theme-toggle { width: 44px; height: 44px; }
  .nav-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .lang-switcher > summary { min-height: 44px; }
  .nav-link { padding-top: 12px; padding-bottom: 12px; }
  .footer-social { display: inline-flex; align-items: center; min-height: 44px; }
  .channel-item { min-height: 44px; }
}

/* 5) SAFE-AREA INSETS (notch / home-indicator iPhone) ───────────────
   Aktif berkat viewport-fit=cover di <meta>. max() jaga padding minimum. */
@supports (padding: max(0px)) {
  .navbar       { padding-left: max(32px, env(safe-area-inset-left));
                  padding-right: max(32px, env(safe-area-inset-right)); }
  .footer-inner { padding-left: max(24px, env(safe-area-inset-left));
                  padding-right: max(24px, env(safe-area-inset-right)); }
  .hero-sub     { padding-left: max(40px, env(safe-area-inset-left));
                  padding-right: max(40px, env(safe-area-inset-right)); }
}

/* 6) MAP EMBED RESPONSIF (/lokasi) ──────────────────────────────────
   iframe punya height="320" fixed → di HP terlalu tinggi/sumbang.
   aspect-ratio bikin proporsional + anti-CLS (override attr HTML). */
.map-embed iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; }
@media (max-width: 600px) { .map-embed iframe { aspect-ratio: 4 / 3; } }

/* 7) HERO DI LAYAR KECIL ────────────────────────────────────────────
   Font-size .hero-line kini satu clamp kontinu (floor 2.5rem, sadar vw+vh)
   di base rule → tak perlu override khusus lagi (string brand pendek, aman
   di 320px). Sisakan margin line-2 + padding atas yang lebih rapat. */
@media (max-width: 480px) {
  .hero-line.line-2 { margin-left: clamp(10px, 4vw, 28px); }
  .hero-title-wrap { padding-top: calc(var(--nav-h) + 5vh); }
}

/* 8) OVERFLOW GUARDS (anti horizontal-scroll dari konten panjang) ────
   body{overflow-x:hidden} existing hanya menyembunyikan gejala; ini
   menambal sumbernya (URL/string panjang, gambar, tabel konten blog). */
.page-container, .service-detail, .breadcrumb,
.faq-answer p, .masonry-desc, .acc-desc { overflow-wrap: break-word; word-break: break-word; }
.page-container img, .service-detail img, .faq-answer img { max-width: 100%; height: auto; }
.service-detail table, .placeholder-content table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* 9) EXTRA-SMALL TIGHTENING (≤380px: iPhone SE, Android mini) ────────
   Rapatkan padding agar konten tak sesak di layar paling sempit. */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .page-container { padding-left: 16px; padding-right: 16px; }
  .stat-chip { padding: 14px 16px; }
  .service-card { padding: 24px; }
  .contact-left-col, .contact-form-col { padding-left: 18px; padding-right: 18px; }
}