/* ================================================================
   Behind Create — main.css
   Unified stylesheet for all pages of the WordPress theme.
   ================================================================ */

/* ─── CSS VARIABLES ─── */
:root {
  --cream:  #F0EDE6;
  --cream2: #E8E4DC;
  --off:    #F5F3EE;
  --white:  #ffffff;
  --black:  #080808;
  --blue:   #4100F5;
  --blue-h: #3300CC;
  --red:    #FF4632;
  --green:  #25D366;
  --bdl:    rgba(8,8,8,.07);
  --bdd:    rgba(8,8,8,.13);

  /* category colours */
  --c-kol: #4100F5;
  --c-act: #FF4632;
  --c-vid: #5b21b6;
  --c-soc: #065f46;

  /* typography — overridden by Customizer via bc-customizer-vars */
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  cursor: none;
}

/* ================================================================
   CURSOR
================================================================ */
.cur {
  position: fixed; width: 8px; height: 8px;
  background: var(--red); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s, background .3s;
}
.cur-ring, .cur-r {
  position: fixed; width: 40px; height: 40px;
  border: 1px solid rgba(65,0,245,.35); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: left .12s ease, top .12s ease, width .3s, height .3s, border-color .3s;
}
body:has(a:hover) .cur,
body:has(button:hover) .cur { width: 18px; height: 18px; background: var(--blue); }
body:has(a:hover) .cur-ring,
body:has(button:hover) .cur-ring,
body:has(a:hover) .cur-r,
body:has(button:hover) .cur-r { width: 56px; height: 56px; border-color: rgba(65,0,245,.6); }

/* ================================================================
   NAV
================================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 3rem;
  transition: background .5s, backdrop-filter .5s, box-shadow .4s;
}
nav.sc {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bdl);
  box-shadow: 0 1px 0 var(--bdl);
}

/* Contact page — nav langsung solid putih (tidak transparan) karena layout split */
body.page-template-page-contact #nav,
body.page-template-page-contact nav {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bdl);
}

/* Logo */
.nav-logo, .nl {
  display: flex; align-items: center;
  text-decoration: none; height: 44px; flex-shrink: 0;
}
/* ── Logo image — ukuran dikontrol oleh CSS, bukan oleh ukuran file upload ── */
.nav-logo img, .nav-logo .bc-logo-img,
.nl img, .nl .bc-logo-img {
  height: 36px;          /* tinggi tetap di nav */
  width: auto;           /* lebar menyesuaikan rasio */
  max-width: 160px;      /* batas maks agar tidak overflow di layar kecil */
  object-fit: contain;
  display: block;
  transition: opacity .3s, transform .4s;
}
.nav-logo:hover img, .nav-logo:hover .bc-logo-img,
.nl:hover img, .nl:hover .bc-logo-img { opacity: .65; transform: scale(.95); }

/* Links */
.nav-links, .nlinks {
  display: flex; gap: 2.5rem; list-style: none;
}
.nav-links a, .nlinks a {
  text-decoration: none;
  color: rgba(8,8,8,.4);
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  font-family: 'Syne', sans-serif; font-weight: 600;
  transition: color .25s;
  position: relative; padding-bottom: 3px;
}
.nav-links a::after, .nlinks a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px; background: var(--blue);
  transition: width .3s cubic-bezier(.25,.46,.45,.94);
}
.nav-links a:hover, .nlinks a:hover,
.nav-links a.on, .nlinks a.on { color: var(--black); }
.nav-links a:hover::after, .nlinks a:hover::after,
.nav-links a.on::after, .nlinks a.on::after { width: 100%; }

/* CTA button */
.nav-cta, .ncta {
  background: var(--blue); color: #fff;
  padding: .6rem 1.6rem;
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0;
  background: var(--blue-h); transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.25,.46,.45,.94);
}
.nav-cta span { position: relative; z-index: 1; }
.nav-cta:hover, .ncta:hover {
  background: var(--blue-h);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(65,0,245,.28);
}
.nav-cta:hover::before { transform: translateX(0); }

/* ================================================================
   HERO — Homepage split layout
================================================================ */
.hero {
  height: 100vh; min-height: 680px;
  display: grid; grid-template-columns: 44fr 56fr;
  position: relative; overflow: hidden;
  background: var(--white);
}

/* vertical divider */
.hero::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  left: 44%; width: 1px;
  background: linear-gradient(to bottom, transparent 0%, var(--bdd) 20%, var(--bdd) 80%, transparent 100%);
  pointer-events: none; z-index: 3;
}

/* — Left panel — */
.hero-left {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem 3rem 3.5rem;
  position: relative; z-index: 4;
}
.hero-tag {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .78rem; color: var(--red);
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp .8s .3s forwards;
}
.hero-tag::before { content: ''; width: 2rem; height: 1.5px; background: var(--blue); }
.hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: .87; letter-spacing: -.01em;
  position: relative; z-index: 1;
}
.hero-h1 .w1 { display: block; color: var(--black); opacity: 0; animation: fadeUp .9s .5s forwards; }
.hero-h1 .w2 { display: block; -webkit-text-stroke: 1.5px rgba(8,8,8,.22); color: transparent; opacity: 0; animation: fadeUp .9s .65s forwards; }
.hero-h1 .w3 { display: block; color: var(--blue); opacity: 0; animation: fadeUp .9s .8s forwards; }
.hero span.desch1 { color: var(--blue); margin-bottom: 2rem; display: block; }
.hero-desc {
  font-size: .88rem; line-height: 1.8;
  color: rgba(8,8,8,.45); font-weight: 300;
  max-width: 340px; margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp .8s 1s forwards;
}
.hero-actions {
  display: flex; align-items: center; gap: 1.5rem;
  opacity: 0; animation: fadeUp .8s 1.15s forwards;
}
.btn-primary {
  background: var(--black); color: #fff;
  padding: .85rem 2rem;
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--blue); transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.25,.46,.45,.94);
}
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(8,8,8,.18); }
.btn-primary:hover::before { transform: translateX(0); }
.btn-ghost {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(8,8,8,.4); text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: color .25s;
}
.btn-ghost::after { content: '→'; transition: transform .25s; }
.btn-ghost:hover { color: var(--black); }
.btn-ghost:hover::after { transform: translateX(4px); }
.hero-meta {
  display: flex; gap: 2.5rem; margin-top: 2.5rem;
  padding-top: 1.5rem; border-top: 1px solid var(--bdl);
  opacity: 0; animation: fadeUp .8s 1.3s forwards;
}
.hm-val { font-family: var(--font-heading); font-size: 2rem; line-height: 1; color: var(--black); }
.hm-val .ac { color: var(--blue); }
.hm-lbl { font-size: .6rem; color: rgba(8,8,8,.35); font-family: 'Syne', sans-serif; letter-spacing: .1em; text-transform: uppercase; margin-top: .2rem; }

/* — Right panel — project cards — */
.hero-right {
  position: relative; z-index: 4;
  display: flex; flex-direction: column;
  padding: 2rem 2.2rem 3rem 1.5rem;
  overflow: hidden;
}
.proj-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 2rem; margin-bottom: 1.5rem;
  opacity: 0; animation: fadeRight .8s .6s forwards;
}
.proj-header-lbl {
  font-family: 'Syne', sans-serif; font-size: .6rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(8,8,8,.32);
  display: flex; align-items: center; gap: .6rem;
}
.proj-header-lbl::before { content: ''; width: 1.5rem; height: 1px; background: rgba(8,8,8,.2); }
.proj-nav-btns { display: flex; gap: .4rem; }
.pnb {
  width: 34px; height: 34px;
  border: 1px solid var(--bdl); background: none;
  color: var(--black); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.pnb:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.05); }

/* Project card stack */
.proj-stack {
  flex: 1; position: relative;
  display: flex; align-items: center;
  opacity: 0; animation: fadeRight .9s .75s forwards;
}
.proj-card {
  position: absolute; top: 50%;
  width: calc(33.33% - 8px);
  aspect-ratio: 3 / 4;
  border-radius: 14px; overflow: hidden;
  transition: left .65s cubic-bezier(.25,.46,.45,.94), opacity .65s, filter .5s, transform .5s;
  cursor: pointer;
}
/* 3 cards visible: pos 0 (left), pos 1 (center), pos 2 (right) */
.proj-card[data-pos="0"] { left: 0; opacity: 1; z-index: 10; filter: none; transform: translateY(-50%); }
.proj-card[data-pos="1"] { left: calc(33.33% + 4px); opacity: 1; z-index: 9; filter: none; transform: translateY(-50%); }
.proj-card[data-pos="2"] { left: calc(66.66% + 8px); opacity: 1; z-index: 8; filter: brightness(.85); transform: translateY(-50%); }
.proj-card[data-pos="3"] { left: 106%; opacity: 0; z-index: 7; filter: brightness(.7); transform: translateY(-50%); }
.proj-card[data-pos="4"] { left: 122%; opacity: 0; z-index: 6; filter: brightness(.6); transform: translateY(-50%); }
.proj-card[data-pos="5"] { left: -40%; opacity: 0; z-index: 5; transform: translateY(-50%); }

/* Card internals */
.pc-inner { width: 100%; height: 100%; position: relative; overflow: hidden; }
/* Featured image di hero card (opsional, dikontrol dari BC Settings) */
.pc-thumb {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center 20%;
  opacity: .65;
  transition: transform .8s cubic-bezier(.25,.46,.45,.94), opacity .4s;
}
.proj-card[data-pos="0"]:hover .pc-thumb,
.proj-card[data-pos="1"]:hover .pc-thumb { transform: scale(1.06); opacity: .75; }

.pc-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  transition: transform .8s cubic-bezier(.25,.46,.45,.94);
  position: relative; z-index: 1;
}
/* Sembunyikan emoji jika ada thumbnail foto */
.pc-thumb ~ .pc-bg { display: none; }
.proj-card[data-pos="0"]:hover .pc-bg,
.proj-card[data-pos="1"]:hover .pc-bg { transform: scale(1.04); }

.pc-hud { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; }
.proj-card[data-pos="0"]:hover .pc-hud,
.proj-card[data-pos="1"]:hover .pc-hud { opacity: 1; }
.pc-hud::before {
  content: ''; position: absolute; top: 16px; left: 16px;
  width: 24px; height: 24px;
  border-top: 1.5px solid rgba(65,0,245,.7);
  border-left: 1.5px solid rgba(65,0,245,.7);
}
.pc-hud::after {
  content: ''; position: absolute; bottom: 16px; right: 16px;
  width: 24px; height: 24px;
  border-bottom: 1.5px solid rgba(65,0,245,.7);
  border-right: 1.5px solid rgba(65,0,245,.7);
}
.pc-scan {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(65,0,245,.5), transparent);
  animation: pcScan 2.5s linear infinite;
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.proj-card[data-pos="0"]:hover .pc-scan,
.proj-card[data-pos="1"]:hover .pc-scan { opacity: 1; }
@keyframes pcScan { from { top: 0; } to { top: 100%; } }

.pc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,.9) 0%, rgba(8,8,8,.3) 40%, transparent 70%);
}
.pc-meta { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem .95rem .95rem; }
.pc-cat {
  font-family: 'Syne', sans-serif; font-size: .58rem; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: .4rem;
  display: flex; align-items: center; gap: .5rem;
}
.pc-cat::before { content: ''; width: 1.2rem; height: 1px; background: var(--blue); }
.pc-name { font-family: 'Syne', sans-serif; font-weight: 800; font-size: .98rem; color: #fff; line-height: 1.15; margin-bottom: .3rem; }
.pc-client { font-size: .72rem; color: rgba(255,255,255,.45); }
.pc-metrics {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-top: .65rem; padding-top: .6rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.pcm-val { font-family: var(--font-heading); font-size: 1.2rem; line-height: 1; color: #fff; display: block; }
.pcm-key { font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); font-family: 'Syne', sans-serif; }

.pc-counter-badge {
  position: absolute; top: 1rem; right: 1rem;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: .65rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--blue);
  padding: .3rem .7rem;
  display: flex; align-items: center; gap: .4rem;
}
.pc-counter-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }

.proj-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.2rem;
  opacity: 0; animation: fadeRight .8s .95s forwards;
}
.proj-dots { display: flex; gap: 5px; }
.proj-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(8,8,8,.15); border: none; cursor: pointer; padding: 0;
  transition: background .3s, width .3s, border-radius .3s;
}
.proj-dot.on { background: var(--blue); width: 18px; border-radius: 2.5px; }
.proj-viewall {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .65rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(8,8,8,.4); text-decoration: none;
  display: inline-flex; align-items: center; gap: .4rem;
  transition: color .25s;
  border-bottom: 1px solid rgba(8,8,8,.15); padding-bottom: 2px;
}
.proj-viewall:hover { color: var(--blue); border-color: var(--blue); }

/* ================================================================
   MARQUEE
================================================================ */
.mq-wrap {
  background: var(--black); overflow: hidden;
  padding: .85rem 0;
  border-top: 1px solid rgba(255,255,255,.04);
}
.mq-track {
  display: flex;
  animation: mq 24s linear infinite;
  white-space: nowrap;
}
.mq-item {
  display: inline-flex; align-items: center; gap: 1.8rem;
  padding: 0 2rem;
  font-family: 'Syne', sans-serif; font-size: .62rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.mq-dot { width: 4px; height: 4px; border-radius: 50%; background: #fff; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ================================================================
   PAGE HEADER (Works, Services, Contact pages)
================================================================ */
.ph {
  padding: 7rem 3rem 2rem;
  border-bottom: 1px solid var(--bdl);
}
.ph-bread {
  font-family: 'Syne', sans-serif; font-size: .56rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(8,8,8,.25);
  display: flex; align-items: center; gap: .4rem;
  margin-bottom: 1.2rem;
}
.ph-bread a { color: var(--blue); text-decoration: none; }
.ph-row { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; }
.ph-h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6.5vw, 6.5rem);
  line-height: .9;
}
.ph-h1 em { font-style: normal; -webkit-text-stroke: 1.5px rgba(8,8,8,.18); color: transparent; }
.ph-sub {
  font-size: .82rem; color: rgba(8,8,8,.4);
  line-height: 1.7; max-width: 260px; font-weight: 300; flex-shrink: 0;
}

/* ================================================================
   ABOUT SECTION
================================================================ */
.about-s { background: var(--white); color: var(--black); padding: 8rem 3rem; }
.sl, .sec-lbl {
  font-family: 'Syne', sans-serif; font-size: .6rem;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--blue);
  display: flex; align-items: center; gap: .8rem;
  margin-bottom: 2.5rem;
}
.sl::after, .sec-lbl::after { content: ''; width: 2rem; height: 1.5px; background: var(--blue); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-h2 { font-family: var(--font-heading); font-size: clamp(2.8rem,5.5vw,5.5rem); line-height: .9; margin-bottom: 2rem; }
.about-h2 em { font-style: normal; color: var(--blue); }
.about-body { color: rgba(8,8,8,.5); font-size: .93rem; line-height: 1.85; font-weight: 300; }
.about-body p + p { margin-top: 1rem; }
.about-tag, .hashtag { margin-top: 2rem; font-family: 'Syne', sans-serif; font-weight: 700; font-size: .78rem; color: var(--red); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--bdl); }
.stat-box {
  background: var(--white); padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
  transition: background .35s; cursor: default;
}
.stat-box:hover { background: var(--cream); }
.stat-box::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
}
.stat-box:hover::after { transform: scaleX(1); }
.sn, .stat-num { font-family: var(--font-heading); font-size: 3.5rem; line-height: 1; color: var(--black); display: block; }
.sn .ac, .stat-num .ac { color: var(--blue); }
.sl2, .stat-lbl { font-size: .67rem; color: rgba(8,8,8,.38); text-transform: uppercase; letter-spacing: .1em; font-family: 'Syne', sans-serif; margin-top: .4rem; display: block; }

/* ================================================================
   SERVICES SECTION
================================================================ */
.srv-s { background: var(--white); color: var(--black); padding: 8rem 3rem 6rem; }
/* Extra top padding when srv-s is the first section (Services page — no .ph above it) */
body.page-template-page-services .srv-s { padding-top: 9rem; }
.srv-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; gap: 2rem; }
.srv-h2 { font-family: var(--font-heading); font-size: clamp(2.8rem,5.5vw,5.5rem); line-height: .9; }
.srv-h2 em { font-style: normal; -webkit-text-stroke: 1.5px rgba(8,8,8,.25); color: transparent; }
.srv-intro { max-width: 300px; color: rgba(8,8,8,.45); font-size: .88rem; line-height: 1.75; font-weight: 300; }
.srv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--bdl); }
.srv-card {
  background: #161616; padding: 3rem 2.5rem;
  position: relative; overflow: hidden;
  transition: background .3s; cursor: pointer;
}
.srv-card:hover { background: var(--cream2); }
.srv-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0; background: var(--blue);
  transition: height .4s ease;
}
.srv-card:hover::before { height: 100%; }
.srv-num {
  font-family: var(--font-heading); font-size: 5rem;
  line-height: 1; color: rgba(255,255,255,.12);
  position: absolute; top: .5rem; right: 1.5rem;
}
.srv-icon {
  width: 44px; height: 44px;
  border: 1.5px solid var(--bdl);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2rem; font-size: 1.1rem;
  transition: border-color .3s, background .3s;
}
.srv-card:hover .srv-icon { border-color: var(--blue); background: rgba(65,0,245,.07); }
.srv-name { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.35rem; margin-bottom: 1rem; line-height: 1.2; color: #616161; }
.srv-card:hover .srv-name { color: var(--black); }
.srv-desc { color: rgba(255,255,255,.7); font-size: .86rem; line-height: 1.8; font-weight: 300; margin-bottom: 2rem; }
.srv-card:hover .srv-desc { color: rgba(36,36,36,.7); }
.srv-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.srv-tag {
  font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  font-family: 'Syne', sans-serif; font-weight: 600;
  padding: .3rem .75rem; border: 1px solid var(--bdd);
  color: rgba(8,8,8,.4);
  transition: border-color .2s, color .2s, background .2s;
}
.srv-card:hover .srv-tag { border-color: var(--blue); color: var(--blue); background: rgba(65,0,245,.05); }
.srv-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.5rem;
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.5); text-decoration: none;
  transition: color .2s;
}
.srv-card:hover .srv-link { color: var(--blue); }

/* ================================================================
   CLIENTS CAROUSEL
================================================================ */
.clients-s { background: var(--black); color: var(--white); padding: 5rem 3rem 2rem; overflow: hidden; }
.cl-h2 { font-family: var(--font-heading); font-size: clamp(2.8rem,5.5vw,5.5rem); line-height: .9; color: var(--white); margin-bottom: .8rem; }
.cl-sub { color: rgba(255,255,255,.5); font-size: .82rem; font-family: 'Syne', sans-serif; margin-bottom: 3.5rem; }
.c-outer { position: relative; }
.cfade { position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none; }
.cfade-l { left: 0; background: linear-gradient(to right, var(--black), transparent); }
.cfade-r { right: 0; background: linear-gradient(to left, var(--black), transparent); }
.c-vp { overflow: hidden; width: 100%; cursor: grab; user-select: none; }
.c-vp:active { cursor: grabbing; }
.c-track { display: flex; transition: transform .45s cubic-bezier(.25,.46,.45,.94); }
.c-slide {
  flex: 0 0 calc(100%/5); padding: 2.2rem 1.5rem;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid rgba(255,255,255,.06);
  min-height: 110px; background: #111;
  transition: background .3s;
}
.c-slide:hover { background: #1a1a1a; }
.logo-wrap { width: 100px; height: 52px; display: flex; align-items: center; justify-content: center; }
.logo-wrap img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(100%) opacity(.35); transition: filter .35s; }
.c-slide:hover .logo-wrap img { filter: grayscale(0%) opacity(1); }
.c-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 2.5rem; }
.c-dots { display: flex; gap: 6px; }
.c-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.2); border: none; cursor: pointer;
  transition: background .3s, width .3s; padding: 0;
}
.c-dot.on { background: var(--blue); width: 20px; border-radius: 3px; }
.c-arrows { display: flex; gap: .5rem; }
.c-arr {
  width: 44px; height: 44px;
  border: 1.5px solid rgba(255,255,255,.12);
  background: transparent; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem;
  transition: background .2s, border-color .2s, color .2s;
}
.c-arr:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.c-counter { font-family: 'Syne', sans-serif; font-size: .72rem; color: rgba(255,255,255,.3); letter-spacing: .1em; }
/* Client name fallback (when no logo image uploaded yet) */
.client-name-placeholder {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.35); text-align: center;
  filter: none !important; opacity: .5;
}
.c-slide:hover .client-name-placeholder { opacity: 1; color: rgba(255,255,255,.8); }
/* Portfolio featured image inside .gi-bg */
.gi-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}

/* ================================================================
   STATS + FILTER BAR (Works page)
================================================================ */
.sf-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
  padding: 1.4rem 3rem;
}
.sf-bar.fi.vis { margin: 0 2.5rem; }
.sf-stats { display: flex; gap: 2.5rem; align-items: center; }
.sf-stat { display: flex; flex-direction: column; }
.sf-stat-n { font-family: var(--font-heading); font-size: 1.85rem; line-height: 1; color: var(--black); }
.sf-stat-l { font-family: 'Syne', sans-serif; font-weight: 600; font-size: .5rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(8,8,8,.3); margin-top: .08rem; }
.sf-divider { width: 1px; height: 2rem; background: var(--bdl); }
.sf-filters { display: flex; gap: .3rem; flex-wrap: wrap; }
.sf-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  background: none; border: 1px solid rgba(8,8,8,.12);
  padding: .38rem .85rem;
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .53rem; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: all .22s; color: rgba(8,8,8,.38);
}
.sf-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; transition: background .22s; }
.sf-btn.active, .sf-btn:hover { color: #fff; }
.sf-btn[data-f="all"].active,  .sf-btn[data-f="all"]:hover  { background: var(--black); border-color: var(--black); }
.sf-btn[data-f="kol"].active,  .sf-btn[data-f="kol"]:hover  { background: var(--c-kol); border-color: var(--c-kol); }
.sf-btn[data-f="activation"].active, .sf-btn[data-f="activation"]:hover { background: var(--c-act); border-color: var(--c-act); }
.sf-btn[data-f="video"].active, .sf-btn[data-f="video"]:hover { background: var(--c-vid); border-color: var(--c-vid); }
.sf-btn[data-f="social"].active, .sf-btn[data-f="social"]:hover { background: var(--c-soc); border-color: var(--c-soc); }

/* ================================================================
   WORKS GRID
================================================================ */
.wg-outer { padding: 6px 6px 0; }
.wg-outer.fi.vis { margin: 0 5rem; }
.wg {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 248px;
  gap: 20px;
}

/* Static/preview nth-child placements (21 items) */
.gi:nth-child(1)  { grid-column: 1/9;   grid-row: 1; }
.gi:nth-child(2)  { grid-column: 9/13;  grid-row: 1/3; }
.gi:nth-child(3)  { grid-column: 1/5;   grid-row: 2; }
.gi:nth-child(4)  { grid-column: 5/9;   grid-row: 2; }
.gi:nth-child(5)  { grid-column: 1/4;   grid-row: 3/5; }
.gi:nth-child(6)  { grid-column: 4/10;  grid-row: 3; }
.gi:nth-child(7)  { grid-column: 10/13; grid-row: 3; }
.gi:nth-child(8)  { grid-column: 4/10;  grid-row: 4; }
.gi:nth-child(9)  { grid-column: 10/13; grid-row: 4; }
.gi:nth-child(10) { grid-column: 1/7;   grid-row: 5; }
.gi:nth-child(11) { grid-column: 7/10;  grid-row: 5/7; }
.gi:nth-child(12) { grid-column: 10/13; grid-row: 5; }
.gi:nth-child(13) { grid-column: 1/4;   grid-row: 6; }
.gi:nth-child(14) { grid-column: 4/7;   grid-row: 6; }
.gi:nth-child(15) { grid-column: 10/13; grid-row: 6; }
.gi:nth-child(16) { grid-column: 1/7;   grid-row: 7; }
.gi:nth-child(17) { grid-column: 7/10;  grid-row: 7/9; }
.gi:nth-child(18) { grid-column: 10/13; grid-row: 7; }
.gi:nth-child(19) { grid-column: 1/4;   grid-row: 8; }
.gi:nth-child(20) { grid-column: 4/7;   grid-row: 8; }
.gi:nth-child(21) { grid-column: 10/13; grid-row: 8; }

/* WP dynamic size classes (admin-controlled via meta) */
.gi-wide     { grid-column: span 6; }
.gi-portrait { grid-column: span 3; grid-row: span 2; }
.gi-normal   { grid-column: span 4; }
.gi-small    { grid-column: span 3; }

/* Grid item base */
.gi {
  position: relative; overflow: hidden; cursor: pointer;
  transition: opacity .4s ease, filter .4s ease;
}
.gi.hidden-item { opacity: .05; pointer-events: none; filter: grayscale(1); }

/* Background */
.gi-bg {
  position: absolute; inset: 0;
  transition: transform .65s cubic-bezier(.25,.46,.45,.94);
}
.gi:hover .gi-bg { transform: scale(1.07); }

/* Decorative emoji */
.gi-deco {
  position: absolute; right: -.5rem; bottom: -.8rem;
  font-size: clamp(5rem, 9vw, 8rem);
  opacity: .06; line-height: 1;
  pointer-events: none; user-select: none;
  transition: opacity .45s, transform .45s;
  filter: grayscale(1);
}
.gi:hover .gi-deco { opacity: .13; transform: scale(1.06) rotate(-6deg); }

/* Category tag */
.gi-tag {
  position: absolute; top: .75rem; left: .75rem;
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .46rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .28rem .6rem; z-index: 4; line-height: 1.2;
}
.gi.cat-kol .gi-tag        { background: var(--c-kol); color: #fff; }
.gi.cat-activation .gi-tag { background: var(--c-act); color: #fff; }
.gi.cat-video .gi-tag      { background: var(--c-vid); color: #fff; }
.gi.cat-social .gi-tag     { background: var(--c-soc); color: #fff; }

/* Accent line at bottom */
.gi::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2.5px; transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.25,.46,.45,.94); z-index: 5;
}
.gi.cat-kol::after        { background: var(--c-kol); }
.gi.cat-activation::after { background: var(--c-act); }
.gi.cat-video::after      { background: var(--c-vid); }
.gi.cat-social::after     { background: var(--c-soc); }
.gi:hover::after { transform: scaleX(1); }

/* Video play button */
.gi-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,.35); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 3; transition: all .3s;
}
.gi:hover .gi-play {
  background: rgba(65,0,245,.9);
  border-color: var(--blue);
  transform: translate(-50%,-50%) scale(1.12);
  box-shadow: 0 0 24px rgba(65,0,245,.5);
}
.gi-play svg { width: 16px; height: 16px; fill: #fff; margin-left: 3px; }

/* Info overlay */
.gi-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem 1rem .85rem; z-index: 3; }
.gi-info.always {
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.3) 65%, transparent 100%);
}
.gi-info.on-hover {
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.35) 65%, transparent 100%);
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}
.gi:hover .gi-info.on-hover { opacity: 1; transform: translateY(0); }
.gi-info.partial {
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 78%);
}

.gi-client {
  font-family: 'Syne', sans-serif; font-weight: 600;
  font-size: .46rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.48); margin-bottom: .12rem;
}
.gi-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: .82rem; color: #fff; line-height: 1.2; }
.gi-meta { display: flex; align-items: center; gap: .45rem; margin-top: .28rem; flex-wrap: wrap; }
.gi-meta-txt { font-size: .58rem; color: rgba(255,255,255,.38); font-weight: 300; }
.gi-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.22); flex-shrink: 0; }
.gi-num {
  position: absolute; top: .75rem; right: .75rem;
  font-family: var(--font-heading); font-size: .85rem;
  color: rgba(255,255,255,.16); z-index: 4; line-height: 1;
}

/* Grid footer bar */
.grid-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 3rem; margin-top: 6px;
  border-top: 1px solid var(--bdl); border-bottom: 1px solid var(--bdl);
}
.gf-txt { font-family: 'Syne', sans-serif; font-weight: 600; font-size: .55rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(8,8,8,.28); }
.gf-link { display: inline-flex; align-items: center; gap: .5rem; font-family: 'Syne', sans-serif; font-weight: 700; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); text-decoration: none; transition: gap .22s; }
.gf-link:hover { gap: .85rem; }
.gf-link svg { width: 11px; height: 11px; fill: currentColor; }

/* ================================================================
   CTA SECTION
================================================================ */
.cta { background: var(--black); padding: 4.5rem 3rem; text-align: center; position: relative; overflow: hidden; }
.cta-g { position: absolute; bottom: -1.5rem; left: 50%; transform: translateX(-50%); font-family: var(--font-heading); font-size: clamp(4rem,10vw,11rem); color: rgba(65,0,245,.06); white-space: nowrap; pointer-events: none; line-height: 1; }
.cta-ey { font-family: 'Syne', sans-serif; font-size: .58rem; letter-spacing: .24em; text-transform: uppercase; color: var(--blue); display: flex; align-items: center; justify-content: center; gap: .7rem; margin-bottom: 1rem; }
.cta-ey::before, .cta-ey::after { content: ''; width: 1.8rem; height: 1.5px; background: var(--blue); }
.cta-h2 { font-family: var(--font-heading); font-size: clamp(2.8rem,6vw,6.5rem); line-height: .88; color: #fff; margin-bottom: .8rem; position: relative; z-index: 1; }
.cta-h2 em { font-style: normal; color: var(--blue); }
.cta-sub { color: rgba(255,255,255,.32); font-size: .82rem; max-width: 380px; margin: 0 auto 1.8rem; font-weight: 300; position: relative; z-index: 1; }
.btn-wa {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--green); color: #fff;
  padding: .85rem 2rem;
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; position: relative; z-index: 1;
  transition: background .2s, transform .2s;
}
.btn-wa:hover { background: #128C7E; transform: translateY(-2px); }
.btn-wa svg { width: 20px; height: 20px; fill: #fff; }

/* ================================================================
   CONTACT SECTION (homepage / footer CTA)
================================================================ */
.contact-s {
  background: var(--black); color: var(--white);
  padding: 9rem 3rem; position: relative; overflow: hidden;
}
.contact-ghost {
  position: absolute; bottom: -2.5rem; right: -1rem;
  font-family: var(--font-heading);
  font-size: clamp(5rem,10vw,11rem);
  color: rgba(65,0,245,.07); line-height: 1;
  pointer-events: none; white-space: nowrap;
}
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; position: relative; z-index: 1; }
.sec-lbl-dk {
  font-family: 'Syne', sans-serif; font-size: .63rem;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--blue);
  display: flex; align-items: center; gap: .8rem; margin-bottom: 2.5rem;
}
.sec-lbl-dk::after { content: ''; width: 2rem; height: 1.5px; background: var(--blue); }
.contact-h2 { font-family: var(--font-heading); font-size: clamp(3.5rem,7vw,8rem); line-height: .85; color: var(--white); margin-bottom: 2rem; }
.contact-h2 em { font-style: normal; color: var(--blue); }
.contact-body { color: rgba(245,242,236,.42); font-size: .92rem; line-height: 1.8; margin-bottom: 2.5rem; font-weight: 300; }
.cd-lbl { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; font-family: 'Syne', sans-serif; color: rgba(245,242,236,.28); display: block; margin-bottom: .2rem; }
.cd-val { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; color: var(--white); }
.contact-details { display: flex; flex-direction: column; gap: 2rem; }

/* ================================================================
   CONTACT PAGE HERO (page-contact.php)
================================================================ */
.ch { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }

/* Left — dark */
.ch-l {
  background: var(--black); color: #fff;
  padding: 9rem 3.5rem 4rem;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.ch-l-ghost {
  position: absolute; bottom: -2rem; left: -1rem;
  font-family: var(--font-heading);
  font-size: clamp(6rem,12vw,14rem);
  color: rgba(65,0,245,.07); line-height: 1;
  pointer-events: none; white-space: nowrap;
}
.ch-bread { font-family: 'Syne', sans-serif; font-size: .55rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.22); display: flex; align-items: center; gap: .4rem; margin-bottom: 2rem; }
.ch-bread a { color: var(--blue); text-decoration: none; }
.ch-eyebrow { font-family: 'Syne', sans-serif; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.ch-eyebrow::before { content: ''; width: 1.5rem; height: 1.5px; background: var(--blue); }
.ch-h1 { font-family: var(--font-heading); font-size: clamp(4rem,7vw,7.5rem); line-height: .88; color: #fff; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.ch-h1 em { font-style: normal; color: var(--blue); }
.ch-tagline { font-size: .9rem; color: rgba(255,255,255,.38); line-height: 1.75; font-weight: 300; max-width: 340px; margin-bottom: 3rem; position: relative; z-index: 1; }
.ch-cards { display: flex; flex-direction: column; gap: .8rem; position: relative; z-index: 1; }
.ch-card {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid rgba(255,255,255,.07);
  text-decoration: none;
  transition: border-color .25s, background .25s; cursor: pointer;
}
.ch-card:hover { border-color: rgba(65,0,245,.4); background: rgba(65,0,245,.07); }
.ch-card-icon { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.ch-card-lbl { font-family: 'Syne', sans-serif; font-size: .55rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.28); display: block; margin-bottom: .2rem; }
.ch-card-val { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .88rem; color: #fff; display: block; }
.ch-card-arr { margin-left: auto; font-size: .85rem; color: rgba(255,255,255,.2); transition: color .25s, transform .25s; }
.ch-card:hover .ch-card-arr { color: var(--blue); transform: translateX(3px); }
.ch-hash { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .75rem; color: var(--red); margin-top: 2rem; position: relative; z-index: 1; }

/* Right — light */
.ch-r {
  background: var(--off); padding: 9rem 3.5rem 4rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.ch-r-label { font-family: 'Syne', sans-serif; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(8,8,8,.28); display: flex; align-items: center; gap: .6rem; margin-bottom: 3rem; }
.ch-r-label::before { content: ''; width: 1.5rem; height: 1px; background: rgba(8,8,8,.18); }

.btn-wa-big {
  display: flex; align-items: center; gap: 1.2rem;
  background: var(--black); color: #fff;
  padding: 1.5rem 2rem; text-decoration: none;
  transition: background .25s, transform .25s; margin-bottom: 1rem;
}
.btn-wa-big:hover { background: var(--blue); transform: translateY(-2px); }
.btn-wa-big .wa-icon { width: 44px; height: 44px; background: var(--black); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.btn-wa-big .wa-icon svg { width: 22px; height: 22px; fill: #fff; }
.btn-wa-big .wa-text-top { font-family: 'Syne', sans-serif; font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); display: block; margin-bottom: .15rem; }
.btn-wa-big .wa-text-main { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem; color: #fff; display: block; }

.btn-ig {
  display: flex; align-items: center; gap: 1.2rem;
  background: transparent; color: var(--black);
  padding: 1.2rem 2rem; border: 1px solid rgba(8,8,8,.1);
  text-decoration: none; transition: border-color .25s, background .25s;
}
.btn-ig:hover { border-color: var(--blue); background: rgba(65,0,245,.04); }
.btn-ig .ig-icon { width: 40px; height: 40px; background: var(--black); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.btn-ig .ig-icon svg { width: 20px; height: 20px; fill: #fff; }
.btn-ig .ig-text-top { font-family: 'Syne', sans-serif; font-size: .55rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(8,8,8,.3); display: block; margin-bottom: .15rem; }
.btn-ig .ig-text-main { font-family: 'Syne', sans-serif; font-weight: 800; font-size: .95rem; color: var(--black); display: block; }
.btn-ig .ig-arr { margin-left: auto; font-size: .85rem; color: rgba(8,8,8,.2); transition: color .25s, transform .25s; }
.btn-ig:hover .ig-arr { color: var(--blue); transform: translateX(3px); }

.ch-divider { margin: 1.5rem 0; height: 1px; background: rgba(8,8,8,.07); }

.ch-services { margin-top: auto; }
.ch-services-lbl { font-family: 'Syne', sans-serif; font-size: .55rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(8,8,8,.25); margin-bottom: 1rem; }
.ch-srv-list { display: flex; flex-direction: column; gap: .4rem; }
.ch-srv-item { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; border-bottom: 1px solid rgba(8,8,8,.06); text-decoration: none; color: var(--black); transition: color .2s; }
.ch-srv-item:hover { color: var(--blue); }
.ch-srv-num { font-family: var(--font-heading); font-size: .8rem; color: rgba(8,8,8,.18); margin-right: .8rem; }
.ch-srv-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .8rem; flex: 1; }
.ch-srv-arr { font-size: .75rem; color: rgba(8,8,8,.18); transition: color .2s, transform .2s; }
.ch-srv-item:hover .ch-srv-arr { color: var(--blue); transform: translateX(3px); }

/* ================================================================
   FOOTER
================================================================ */
footer {
  background: #040404; padding: 2rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.05);
}
.ft-logo, .fl {
  display: flex; align-items: center; text-decoration: none;
}
.ft-logo img, .ft-logo .bc-logo-img,
.fl img, .fl .bc-logo-img {
  height: 28px;     /* footer logo lebih kecil dari header */
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
  opacity: .6;      /* sedikit redup, terang penuh saat hover */
  transition: opacity .3s;
}
.ft-logo:hover img, .ft-logo:hover .bc-logo-img,
.fl:hover img, .fl:hover .bc-logo-img { opacity: 1; }
.ft-copy, .fc { font-size: .67rem; color: rgba(255,255,255,.17); }
.ft-ig, .fig {
  font-family: 'Syne', sans-serif; font-size: .67rem;
  color: rgba(255,255,255,.28); text-decoration: none;
  transition: color .25s;
}
.ft-ig:hover, .fig:hover { color: #fff; }

/* ================================================================
   WA FLOAT BUTTON
================================================================ */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 300;
  display: flex; flex-direction: column;
  align-items: flex-end; gap: .5rem;
}
.wa-tip {
  background: var(--black); color: #fff;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: .67rem;
  padding: .4rem .9rem;
  opacity: 0; transform: translateX(10px);
  transition: opacity .3s, transform .3s;
  pointer-events: none; white-space: nowrap;
}
.wa-float:hover .wa-tip { opacity: 1; transform: translateX(0); }
.wa-btn {
  width: 52px; height: 52px;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; position: relative;
  transition: transform .3s, box-shadow .3s;
}
.wa-btn:hover { transform: scale(1.09); box-shadow: 0 10px 28px rgba(37,211,102,.3); }
.wa-btn svg { width: 23px; height: 23px; fill: #fff; }
.wa-pulse, .wa-p {
  position: absolute; inset: -4px;
  border: 2px solid var(--green); border-radius: 50%;
  animation: wp 2.5s ease-in-out infinite;
}
@keyframes wp { 0%,100% { opacity: .4; transform: scale(1); } 50% { opacity: 0; transform: scale(1.3); } }

/* ================================================================
   ANIMATION HELPERS
================================================================ */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeRight { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: translateX(0); } }

.fi   { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
.fi.vis { opacity: 1; transform: translateY(0); }
.fi-l { opacity: 0; transform: translateX(-22px); transition: opacity .75s, transform .75s; }
.fi-l.vis { opacity: 1; transform: translateX(0); }
.fi-r { opacity: 0; transform: translateX(22px); transition: opacity .75s, transform .75s; }
.fi-r.vis { opacity: 1; transform: translateX(0); }

/* margin fix when animated into view after nav */
.fi.vis { margin-top: 0; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1200px) {
  .wg { grid-auto-rows: 210px; }
}

@media (max-width: 1024px) {
  /* Hero: stack vertically */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto; min-height: unset;
  }
  .hero::after { display: none; }
  .hero-left  { padding: 6.5rem 1.5rem 1.5rem; order: 1; }
  .hero-right {
    padding: 0 1.5rem 2.5rem; order: 2;
    min-height: unset; overflow: hidden;
  }
  /* proj-stack: tinggi eksplisit agar card terpasang dengan benar */
  .proj-stack {
    min-height: calc(72vw * 4 / 3);
    flex: none;
    height: calc(72vw * 4 / 3);
  }
  /* Mobile — 1 card portrait 3:4, top:0 bukan center */
  .proj-card {
    width: 72%;
    top: 0; transform: none;
  }
  .proj-card[data-pos="0"] { left: 14%; opacity: 1; filter: none; transform: none; }
  .proj-card[data-pos="1"] { left: calc(14% + 100% + 12px); opacity: 1; transform: none; }
  .proj-card[data-pos="2"] { left: calc(14% + 200% + 24px); opacity: .4; transform: none; }
  .proj-card[data-pos="3"] { left: calc(14% + 300% + 36px); opacity: 0; transform: none; }
  .proj-card[data-pos="4"] { left: calc(14% + 400% + 48px); opacity: 0; transform: none; }
  .proj-card[data-pos="5"] { left: calc(14% - 114%); opacity: 0; transform: none; }
  .hero-meta { display: none; }
  .proj-header { margin-top: 1rem; margin-bottom: 1rem; }

  /* Nav */
  nav { padding: 1rem 1.5rem; }
  .nav-links, .nlinks { display: none; }

  /* About */
  .about-s, .srv-s, .clients-s, .contact-s { padding: 5rem 1.5rem; }
  .about-grid, .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .srv-grid { grid-template-columns: 1fr; }

  /* Works page */
  .ph, .sf-bar, .grid-foot { padding-left: 1.5rem; padding-right: 1.5rem; }
  .ph { padding-top: 5.5rem; }
  .ph-row { flex-direction: column; gap: .8rem; }
  .ph-sub { max-width: 100%; }
  .sf-bar { flex-direction: column; align-items: stretch; gap: 1.2rem; padding: 1.4rem 1.5rem; }
  .wg {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
  }
  .gi:nth-child(n) { grid-column: auto !important; grid-row: auto !important; }
  .gi:nth-child(1), .gi:nth-child(6), .gi:nth-child(8),
  .gi:nth-child(10), .gi:nth-child(16) { grid-column: span 4 !important; }
  .gi:nth-child(2), .gi:nth-child(5), .gi:nth-child(11),
  .gi:nth-child(17) { grid-column: span 2 !important; grid-row: span 2 !important; }

  /* Contact page */
  .ch { grid-template-columns: 1fr; min-height: unset; }
  .ch-l, .ch-r { padding: 5.5rem 1.5rem 3rem; }

  /* CTA */
  .cta { padding: 3.5rem 1.5rem; }
  /* Footer */
  footer { flex-direction: column; gap: 1rem; text-align: center; padding: 1.6rem 1.5rem; }
  /* Clients */
  .c-slide { flex: 0 0 calc(100%/3) !important; }
  /* Services */
  .srv-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .wg {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gi:nth-child(n) { grid-column: auto !important; grid-row: auto !important; }
  .gi:nth-child(1), .gi:nth-child(6), .gi:nth-child(8),
  .gi:nth-child(10), .gi:nth-child(16) { grid-column: span 2 !important; }
  .gi:nth-child(2), .gi:nth-child(5), .gi:nth-child(11),
  .gi:nth-child(17) { grid-column: span 1 !important; grid-row: span 2 !important; }
  /* Stats: 2×2 grid */
  .sf-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 2rem;
    width: 100%;
  }
  /* Sembunyikan divider vertikal di mobile */
  .sf-divider { display: none; }
  .sf-stat-n { font-size: 1.6rem; }
  /* Filter buttons: 2 per baris, rata kiri-kanan */
  .sf-filters { gap: .4rem; width: 100%; }
  .sf-btn { flex: 1 1 calc(50% - .2rem); justify-content: center; min-width: 0; }
  .wg-outer { padding: 4px; }
  /* Mobile-only margin overrides */
  .sf-bar.fi.vis { margin: 0 .5rem; }
  .wg-outer.fi.vis { margin: 0 1rem; }
}

@media (max-width: 560px) {
  .c-slide { flex: 0 0 50% !important; }
}

@media (max-width: 420px) {
  /* Tetap 2 kolom di layar sangat kecil */
  .wg { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gi:nth-child(n) { grid-column: auto !important; grid-row: auto !important; }
}


/* ── YOUTUBE LIGHTBOX ── */
#yt-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
#yt-modal.open { display: flex; animation: yt-fade-in .25s ease; }
@keyframes yt-fade-in { from { opacity: 0; } to { opacity: 1; } }

.yt-modal-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
}
.yt-modal-close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  background: none;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  color: #fff;
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .75;
  transition: opacity .2s, background .2s;
}
.yt-modal-close:hover { opacity: 1; background: rgba(255,255,255,.15); }
.yt-modal-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.yt-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
body.yt-modal-open { overflow: hidden; }

/* Cursor pointer untuk kartu video */
.gi.has-video { cursor: pointer; }
.gi.has-video .gi-play {
  transition: transform .3s, opacity .3s;
}
.gi.has-video:hover .gi-play {
  transform: translate(-50%, -50%) scale(1.15);
}
