/* =========================================
   DESIGN SYSTEM
   ========================================= */
:root {
    --bg-main: #FFFFFF;
    --bg-dark: #0B0B0C;
    --bg-soft: #F3F3F1;
    --text-main: #0B0B0C;
    --text-inverse: #FFFFFF;
    --text-muted: #6B6B70;
    --text-muted-dark: #8A8A91;
    --accent: #FF5A1F;
    --accent-gradient: linear-gradient(135deg, #FF6A00 0%, #FF3D00 100%);
    --border-light: #E3E3E0;
    --border-dark: #232326;

    /* Primer: Sora. Sekunder: Geist — keduanya dari Google Fonts.
       Geist juga dipakai dalam bobot tebal untuk judul kontak. */
    --font-display: 'Sora', sans-serif;
    --font-body: 'Geist', sans-serif;
    --w-extralight: 200;
    --w-light: 300;
    --w-regular: 400;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --container: 1280px;
    --gutter: 40px;
    --section-padding: 140px;
}

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

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

html, body { width: 100%; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    font-weight: var(--w-light);
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
/* -webkit-user-drag menutup jalur "seret gambar ke tab baru"; touch-callout
   menutup popup "Save Image" saat ditekan lama di iOS. Keduanya pelengkap
   penghadang contextmenu di JS — lihat catatan di sana soal batasnya. */
img {
    max-width: 100%; display: block; object-fit: cover;
    -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
input { font-family: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.hover-target { cursor: none !important; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 30px; border-radius: 100px; font-family: var(--font-body);
    font-weight: var(--w-regular); font-size: 0.95rem; cursor: pointer; border: none;
    transition: all 0.3s ease; white-space: nowrap;
}
.btn-accent { background: var(--accent-gradient); color: #FFF; box-shadow: 0 4px 18px rgba(255,90,31,0.32); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,90,31,0.42); }
.btn-light { background: #FFFFFF; color: var(--text-main); }
.btn-light:hover { transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: #FFFFFF; border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #FFF; }
.btn-ghost-dark { background: transparent; color: var(--text-main); border: 1px solid var(--border-light); }
.btn-ghost-dark:hover { border-color: var(--text-main); }

/* =========================================
   SECTION HEADERS — rata kiri + eyebrow bernomor
   ========================================= */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.75rem; font-weight: var(--w-regular); text-transform: uppercase;
    letter-spacing: 0.14em; color: var(--text-muted); margin-bottom: 28px;
}
.eyebrow-num {
    width: 22px; height: 22px; border-radius: 50%; background: var(--accent);
    color: #FFF; display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.65rem; font-weight: var(--w-regular); letter-spacing: 0;
}
.on-dark .eyebrow { color: var(--text-muted-dark); }

.section-head { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: end; margin-bottom: 72px; }
.section-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.section-head .head-note { color: var(--text-muted); font-size: 1.02rem; font-weight: var(--w-extralight); max-width: 400px; justify-self: end; }
.on-dark .section-head .head-note { color: var(--text-muted-dark); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--w-regular); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.link-arrow:hover { color: var(--accent); }

/* =========================================
   HEADER — floating pill nav
   ========================================= */
header {
    position: fixed; top: 20px; left: 0; width: 100%; z-index: 900;
    transition: top 0.4s cubic-bezier(0.16,1,0.3,1);
}
/* Di hero: transparan tanpa border, teks putih — menyatu dengan foto gelap.
   Setelah scroll: latar putih ter-blur, teks & logo berbalik jadi gelap. */
.nav-pill {
    max-width: var(--container); margin: 0 auto; display: flex; align-items: center;
    justify-content: space-between; gap: 24px;
    background: transparent; border: 1px solid transparent; border-radius: 100px;
    padding: 10px 10px 10px 26px;
    transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
header.scrolled .nav-pill {
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-color: var(--border-light);
}
header.menu-open .nav-pill { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

.logo-wrapper { display: inline-flex; align-items: center; position: relative; z-index: 901; }
.site-logo-img { height: 20px; width: auto; object-fit: contain; transition: opacity 0.4s ease; }
.logo-dark { position: absolute; top: 50%; left: 0; transform: translateY(-50%); opacity: 0; }
header.scrolled .logo-light { opacity: 0; }
header.scrolled .logo-dark { opacity: 1; }
header.menu-open .logo-light { opacity: 1; }
header.menu-open .logo-dark { opacity: 0; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 0.9rem; font-weight: var(--w-regular); color: rgba(255,255,255,0.72); position: relative; padding-bottom: 3px; transition: color 0.4s ease; }
.nav-links a:hover { color: #FFF; }
header.scrolled .nav-links a { color: var(--text-muted); }
header.scrolled .nav-links a:hover { color: var(--text-main); }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px; background: var(--accent); transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 12px 24px; font-size: 0.88rem; }

.menu-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: #FFF; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), background 0.4s ease; }
header.scrolled .menu-toggle span { background: var(--text-main); }
header.menu-open .menu-toggle span { background: #FFF; }
.menu-toggle.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu-overlay {
    position: fixed; inset: 0; height: 100dvh; background: rgba(11,11,12,0.98); z-index: 890;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.mobile-menu-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-nav-links { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.mobile-nav-links a {
    font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: #FFF;
    transform: translateY(24px); opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.5s ease, color 0.3s ease;
}
.mobile-nav-links a:hover { color: var(--accent); }
.mobile-menu-overlay.active .mobile-nav-links a { transform: translateY(0); opacity: 1; }
.mobile-menu-overlay.active .mobile-nav-links a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu-overlay.active .mobile-nav-links a:nth-child(2) { transition-delay: 0.13s; }
.mobile-menu-overlay.active .mobile-nav-links a:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu-overlay.active .mobile-nav-links a:nth-child(4) { transition-delay: 0.23s; }
.mobile-menu-overlay.active .mobile-nav-links a:nth-child(5) { transition-delay: 0.28s; }

/* =========================================
   HERO — gelap, full-bleed, rata kiri
   ========================================= */
.hero {
    position: relative; min-height: 100vh; background: var(--bg-dark);
    color: var(--text-inverse); display: flex; align-items: stretch; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
/* object-fit: cover diwarisi dari aturan img global, jadi foto selalu memenuhi
   bingkai tanpa bilah kosong. Subjek bercahaya berada di sekitar (50%, 46%)
   kanvas foto (rasio 1.522); object-position dijaga di tengah horizontal dan
   nilai vertikalnya disetel per breakpoint di blok responsive. */
.hero-bg img { width: 100%; height: 100%; object-position: 50% 50%; filter: grayscale(35%) contrast(1.1); }
/* Tiga lapis:
   1. Vignette radial — transparan di tengah (area subjek), menggelap ke tepi.
   2. Linear dari atas — menjaga kontras nav, pudar sebelum mencapai tengah.
   3. Scrim bawah BERJANGKAR PIKSEL (to top, satuan px), bukan persen. Blok teks
      ditambatkan ke dasar hero dengan padding tetap, jadi jaraknya ke dasar
      nyaris konstan (~420px) di 1366x768, 1440x900, maupun 1920x1080 — padahal
      posisi persentasenya berayun 43%–61%. Versi persen karena itu meleset:
      di 1366x768 ramp-nya baru mulai tepat di bawah puncak headline sehingga
      scrim = 0 dan kontrasnya jatuh ke 1.0:1. Satuan px membuat perlindungan
      yang sama menempel pada teks di semua tinggi layar. */
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 78% 70% at 50% 42%, rgba(11,11,12,0) 0%, rgba(11,11,12,0) 32%, rgba(11,11,12,0.5) 70%, rgba(11,11,12,0.94) 100%),
        linear-gradient(180deg, rgba(11,11,12,0.5) 0%, rgba(11,11,12,0) 22%, rgba(11,11,12,0) 46%),
        linear-gradient(to top, rgba(11,11,12,0.9) 0, rgba(11,11,12,0.7) 240px, rgba(11,11,12,0.52) 430px, rgba(11,11,12,0) 600px);
}
/* Konten ditempelkan ke bawah (flex-end) lalu diberi jarak tetap dari dasar
   hero. Cara ini lebih stabil daripada mengandalkan selisih padding atas-bawah:
   posisinya tidak ikut bergeser saat tinggi layar berbeda. Padding atas hanya
   batas aman supaya konten tak pernah menyelinap ke bawah header di layar pendek. */
.hero-inner {
    position: relative; z-index: 2; width: 100%; max-width: var(--container); margin: 0 auto;
    padding: 150px var(--gutter) 100px; display: flex; flex-direction: column;
    justify-content: flex-end; align-items: center; text-align: center;
}

.hero-main { display: flex; flex-direction: column; align-items: center; gap: 26px; }
/* Batas bawah 2.3rem: cukup besar agar jelas mendominasi subheadline (1.05rem),
   tapi masih menjaga "Makes Your Brand" muat 1 baris di layar 375px. */
.hero-main h1 { font-size: clamp(2.3rem, 6vw, 4.9rem); }
.hero-side { display: flex; flex-direction: column; align-items: center; }
.hero-side p { color: rgba(255,255,255,0.78); font-size: 1.05rem; font-weight: var(--w-extralight); margin: 0 auto 32px; max-width: 46ch; }
.hero-btn-group { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Noda oranye lembut di dalam huruf yang mengikuti kursor selama berada di
   atas headline. Dua lapis background di-clip ke teks: radial oranye di atas,
   putih polos di bawah. Titik pusatnya (--mx/--my) diperbarui lewat JS.
   @property mendaftarkan --glow-a sebagai angka supaya alpha-nya bisa
   ditransisikan; di browser yang belum mendukung, glow-nya muncul seketika. */
@property --glow-a {
    syntax: '<number>';
    initial-value: 0;
    inherits: false;
}
.hero-main h1 {
    --glow-a: 0;
    background-image:
        radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%),
            rgba(255, 90, 31, var(--glow-a)) 0%, rgba(255, 90, 31, 0) 68%),
        linear-gradient(#FFF, #FFF);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    transition: --glow-a 0.35s ease;
}
.hero-main h1:hover { --glow-a: 1; }

/* =========================================
   MARQUEE CLIENTS
   ========================================= */
.marquee-section { padding: 60px 0 56px; border-bottom: 1px solid var(--border-light); overflow: hidden; background: var(--bg-main); width: 100%; }
/* Jarak antar logo dibuat tetap (gap), bukan space-around yang lebarnya
   ikut berubah-ubah mengikuti layar sehingga terasa mepet di layar sempit.
   Pergeserannya TIDAK memakai animasi CSS — lihat blok MARQUEE LOGOS di JS
   untuk alasannya (hit-test hover & kemulusan loop). */
.marquee-container { display: flex; width: max-content; }
.marquee-track { display: flex; align-items: center; gap: 130px; padding-right: 130px; }
.marquee-logo { height: 32px; opacity: 0.38; filter: grayscale(100%); transition: opacity 0.25s ease, filter 0.25s ease; flex-shrink: 0; }
.marquee-logo:hover { opacity: 1; filter: grayscale(0%); }

/* =========================================
   STATEMENT SECTION
   ========================================= */
.statement { padding: var(--section-padding) 0 100px; }
.statement h2 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); max-width: 20ch; line-height: 1.14; }
.statement h2 .muted { color: #BDBDBC; }
.statement-foot { margin-top: 44px; }

/* =========================================
   IMAGE STRIP — full bleed
   ========================================= */
/* Marquee gliding — dua baris identik, geser -50% agar loop mulus.
   Efek sama seperti hero gallery mobile di V1. */
/* PENTING — 4 salinan baris, digeser -25% (tepat selebar 1 baris) tiap siklus.
   Dengan 2 salinan + geser -50%, loop hanya mulus bila lebar 1 baris >= lebar layar;
   di layar lebar akan muncul ruang kosong di akhir siklus. 4 salinan membuat sisa
   konten selalu menutupi layar hingga ~3x lebar baris (>6000px). */
.image-strip { width: 100%; overflow: hidden; }
.strip-marquee { display: flex; width: max-content; animation: stripGlide 32s linear infinite; will-change: transform; }
.strip-row { display: flex; gap: 10px; padding-right: 10px; }
.strip-row figure { position: relative; width: 440px; height: 530px; flex-shrink: 0; border-radius: var(--radius-md); overflow: hidden; background: #16161A; }
.strip-row img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.strip-row figure:hover img { transform: scale(1.06); }
@keyframes stripGlide { 0% { transform: translateX(0); } 100% { transform: translateX(-25%); } }

/* =========================================
   STATS — baris inline
   ========================================= */
.stats-section { padding: 100px 0 var(--section-padding); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; border-top: 1px solid var(--border-light); padding-top: 44px; }
.stat-num { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 700; line-height: 1; margin-bottom: 14px; }
.stat-num .plus { color: var(--accent); }
.stat-label { font-weight: var(--w-regular); font-size: 0.98rem; margin-bottom: 7px; }
.stat-desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; max-width: 30ch; }

/* =========================================
   SERVICES — 7 baris besar bernomor (dark)
   ========================================= */
.services-section { background: var(--bg-dark); color: var(--text-inverse); padding: var(--section-padding) 0; }
/* Daftar kiri + panel preview kanan yang berubah saat hover */
.services-body { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: start; }

.service-row {
    display: block; padding: 26px 0; border-top: 1px solid var(--border-dark); cursor: pointer;
}
.service-row:last-child { border-bottom: 1px solid var(--border-dark); }
/* Hover hanya menyentuh teks nama layanan — garis pembatas antar baris
   dibiarkan tetap agar daftarnya tidak ikut "berkedip" saat kursor lewat. */
.service-name {
    font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 2.9rem); font-weight: 600;
    letter-spacing: -0.03em; display: flex; align-items: flex-start; gap: 10px;
    transition: color 0.3s ease, transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.service-row:hover .service-name,
.service-row.is-active .service-name { color: var(--accent); transform: translateX(14px); }
.service-name sup { font-family: var(--font-body); font-size: 0.72rem; font-weight: var(--w-regular); color: var(--text-muted-dark); letter-spacing: 0; top: 0.2em; }
/* Deskripsi tetap ada di HTML (dibaca JS + terindeks mesin pencari), tapi tidak dirender di daftar.
   Selektor anak langsung (>) — TANPA ini, aturan juga menyembunyikan <p> deskripsi
   di dalam .service-drop sehingga dropdown mobile hanya menampilkan gambar. */
.service-row > p { display: none; }

/* Dropdown mobile — pengganti panel hover yang tidak bisa dipakai tanpa kursor.
   Disembunyikan di desktop, ditampilkan lewat media query di bawah. */
.service-drop { display: none; max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.16,1,0.3,1); }
.service-drop-inner { padding: 22px 0 6px; }
.service-drop-img { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; background: #16161A; margin-bottom: 16px; }
.service-drop-img img { width: 100%; height: 100%; }
.service-drop-desc { display: block; font-size: 0.95rem; font-weight: var(--w-extralight); color: rgba(255,255,255,0.9); line-height: 1.6; }

/* Preview mengikuti posisi vertikal baris yang di-hover, bukan diam di satu tempat.
   Hanya tampil saat ada baris yang benar-benar di-hover. */
.service-preview {
    position: absolute; top: 0; right: 0; width: 330px; pointer-events: none;
    opacity: 0; transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.service-preview.is-visible { opacity: 1; }
.preview-img { position: relative; width: 100%; padding-top: 100%; border-radius: var(--radius-md); overflow: hidden; background: #16161A; margin-bottom: 18px; }
.preview-img img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.4s ease; }
.preview-img img.is-shown { opacity: 1; }
.preview-name { font-size: 0.9rem; color: var(--text-muted-dark); margin-bottom: 10px; }
.preview-desc { font-size: 0.96rem; font-weight: var(--w-extralight); color: rgba(255,255,255,0.92); line-height: 1.6; }
.preview-text { transition: opacity 0.3s ease; }
.preview-text.is-fading { opacity: 0; }

/* =========================================
   PORTFOLIO — layout dipertahankan dari versi lama
   ========================================= */
.projects-section { padding: var(--section-padding) 0; position: relative; }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px 40px; }
.project-card { display: flex; flex-direction: column; }
.project-image-wrapper { position: relative; width: 100%; padding-top: 70%; border-radius: var(--radius-lg); overflow: hidden; background: #111; }
.project-image-wrapper img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.project-image-wrapper:hover img { transform: scale(1.05); }
.project-info { padding: 24px 0 0; }
.project-title { font-size: 1.7rem; margin-bottom: 16px; }
.project-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; border-bottom: 1px solid var(--border-light); padding-bottom: 16px; flex-wrap: wrap; gap: 12px; }
.project-client { font-size: 0.84rem; color: var(--text-muted); font-weight: var(--w-regular); }
.project-meta-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.project-year { font-size: 0.84rem; color: var(--text-muted); }
.project-categories { display: flex; gap: 8px; flex-wrap: wrap; }
.project-category-pill { border: 1px solid var(--border-light); border-radius: 100px; padding: 4px 15px; font-size: 0.73rem; font-weight: var(--w-regular); background: #FFF; }
.project-desc { color: var(--text-muted); font-size: 0.94rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

#custom-cursor { position: fixed; top: 0; left: 0; width: 80px; height: 80px; background: var(--accent-gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #FFF; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%) scale(0); opacity: 0; transition: transform 0.2s cubic-bezier(0.175,0.885,0.32,1.275), opacity 0.2s ease; }
#custom-cursor.active { transform: translate(-50%,-50%) scale(1); opacity: 1; }

/* =========================================
   WHY CHOOSE US
   ========================================= */
.why-section { padding: var(--section-padding) 0; background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why-num { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 18px; }
.why-item h3 { font-size: 1.12rem; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #DCDCD8; }
.why-item p { color: var(--text-muted); font-size: 0.93rem; }

/* =========================================
   FAQ
   ========================================= */
.faq-section { padding: var(--section-padding) 0; }
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.faq-intro h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); margin-bottom: 20px; }
.faq-intro p { color: var(--text-muted); font-size: 0.98rem; max-width: 34ch; margin-bottom: 32px; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item:first-child { border-top: 1px solid var(--border-light); }
.faq-question { width: 100%; text-align: left; padding: 26px 0; background: none; border: none; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--text-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq-icon { font-size: 1.4rem; font-weight: 400; transition: transform 0.3s ease; flex-shrink: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding-bottom: 26px; color: var(--text-muted); line-height: 1.75; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--accent); }

/* =========================================
   TESTIMONIALS — dark
   ========================================= */
.testimonials { background: var(--bg-dark); color: var(--text-inverse); padding: var(--section-padding) 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: #141417; border: 1px solid var(--border-dark); border-radius: var(--radius-md); padding: 34px 30px; display: flex; flex-direction: column; transition: all 0.3s ease; }
.testimonial-card:hover { transform: translateY(-5px); border-color: rgba(255,90,31,0.5); }
.testi-stars { display: flex; gap: 4px; margin-bottom: 22px; }
.testi-stars svg { width: 16px; height: 16px; fill: var(--accent); }
.testimonial-text { font-size: 1rem; color: rgba(255,255,255,0.9); margin-bottom: 30px; line-height: 1.7; }
.author-info-row { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.author-info-row img { width: 44px; height: 44px; border-radius: 50%; }
.author-details h4 { font-size: 0.95rem; margin-bottom: 2px; }
.author-details span { font-size: 0.82rem; color: var(--text-muted-dark); }

/* Kontrol carousel — hanya dipakai di mobile */
.testi-controls { display: none; justify-content: space-between; align-items: center; margin-top: 28px; }
.testi-dots { display: flex; gap: 8px; }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; background: #3A3A40; border: none; padding: 0; cursor: pointer; transition: background 0.3s ease, width 0.3s ease; }
.testi-dot.is-active { background: #FFFFFF; width: 22px; border-radius: 4px; }
.testi-arrows { display: flex; gap: 10px; }
.testi-arrow {
    width: 42px; height: 42px; border-radius: 50%; background: transparent;
    border: 1px solid var(--border-dark); color: var(--text-inverse);
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease;
}
.testi-arrow svg { width: 17px; height: 17px; }
.testi-arrow:hover { background: var(--text-inverse); color: var(--bg-dark); }
.testi-arrow:disabled { opacity: 0.35; cursor: default; }
.testi-arrow:disabled:hover { background: transparent; color: var(--text-inverse); }

/* =========================================
   FINAL CTA
   ========================================= */
.cta-section { padding: var(--section-padding) 0; text-align: center; }
.cta-section .eyebrow { margin-bottom: 30px; }
/* Satu baris di desktop — max-width dilepas agar tidak dipaksa membungkus */
.cta-section h2 { font-size: clamp(2rem, 6vw, 4.4rem); margin: 0 auto 24px; }
.cta-section p { color: var(--text-muted); font-size: 1.1rem; font-weight: var(--w-extralight); max-width: 56ch; margin: 0 auto 44px; }
.cta-btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================
   FOOTER — besar, newsletter + wordmark raksasa
   ========================================= */
footer { background: var(--bg-dark); color: var(--text-muted-dark); padding: 84px 0 32px; overflow: hidden; }
/* Newsletter, navigasi, dan kontak */
.footer-main { display: grid; grid-template-columns: 1.9fr 1fr 1fr; gap: 56px; align-items: start; padding-bottom: 52px; border-bottom: 1px solid var(--border-dark); }
.footer-news h3 { color: var(--text-inverse); font-size: 1.5rem; margin-bottom: 14px; max-width: 18ch; }
.footer-news p { font-size: 0.92rem; max-width: 38ch; margin-bottom: 22px; }
.news-form { display: flex; gap: 10px; max-width: 420px; }
.news-form input {
    flex: 1; background: #141417; border: 1px solid var(--border-dark); border-radius: 100px;
    padding: 14px 22px; color: #FFF; font-size: 0.92rem; outline: none; transition: border-color 0.3s ease;
}
.news-form input::placeholder { color: #5E5E66; }
.news-form input:focus { border-color: var(--accent); }
.footer-col li, .footer-contact h3 { margin-bottom: 14px; }
.footer-col a, .footer-contact h3 {
    font-family: var(--font-body); font-size: 1.5rem; line-height: 1.3;
    letter-spacing: normal; color: var(--text-inverse);
}
.footer-col a { display: inline-block; font-weight: var(--w-light); }
.footer-contact h3 { font-weight: 700; }
.footer-col a:hover { color: var(--accent); }
.footer-contact a:focus-visible { color: var(--accent); outline: 2px solid currentColor; outline-offset: 3px; }

/* Wordmark mengisi penuh lebar container tanpa JS sama sekali.
   Container query unit (cqw) menskala relatif terhadap lebar .wordmark-wrap,
   jadi otomatis benar di semua lebar layar dan tetap akurat walau .container
   berhenti melebar di max-width. Tidak bergantung pada event resize apa pun.
   Angka 10.43 = 100 / 9.532 (rasio lebar teks Sora 700, tracking -0.045em) dikali
   faktor aman 0.995. Ukur ulang rasio ini jika font display atau teksnya diganti. */
.wordmark-wrap { container-type: inline-size; }
.footer-wordmark {
    font-family: var(--font-display); font-weight: 700; color: var(--text-inverse);
    font-size: clamp(1.4rem, 9.1vw, 7.7rem); /* fallback bila cqw tak didukung */
    line-height: 0.92; letter-spacing: -0.045em;
    text-align: center; white-space: nowrap; padding: 20px 0 34px; user-select: none;
}
@supports (font-size: 1cqw) {
    .footer-wordmark { font-size: 10.43cqw; }
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 0.84rem; border-top: 1px solid var(--border-dark); padding-top: 28px; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--text-inverse); }

/* =========================================
   BACK TO TOP
   ========================================= */
#back-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 52px; height: 52px; border-radius: 50%;
    background: var(--text-main); color: var(--bg-main); border: none; display: flex;
    align-items: center; justify-content: center; cursor: pointer; z-index: 880;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { background: var(--accent); }
#back-to-top svg { width: 22px; height: 22px; }

/* =========================================
   MODAL
   ========================================= */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.86); backdrop-filter: blur(8px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; padding: 40px 24px; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content { background: var(--bg-main); width: 100%; max-width: 1000px; max-height: 90vh; border-radius: var(--radius-lg); position: relative; transform: translateY(20px); transition: transform 0.3s ease; display: flex; flex-direction: column; overflow: hidden; }
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; background: #FFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; z-index: 10; color: var(--text-main); transition: all 0.2s; padding: 0; }
.modal-close svg { width: 21px; height: 21px; }
.modal-close:hover { background: var(--accent); color: #FFF; transform: scale(1.05); }
.modal-scroll-area { overflow-y: auto; width: 100%; height: 100%; padding-bottom: 40px; overscroll-behavior: contain; scrollbar-width: none; }
.modal-scroll-area::-webkit-scrollbar { display: none; }
.modal-header-img { width: 100%; height: 460px; background: #111; }
.modal-header-img img { width: 100%; height: 100%; }
.modal-info { padding: 40px 56px; }
.modal-info h2 { font-size: 2.3rem; margin-bottom: 22px; }
.modal-info p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 22px; }
.modal-gallery { display: flex; flex-direction: column; gap: 22px; margin-top: 36px; }
.modal-gallery img { width: 100%; border-radius: var(--radius-md); }
.modal-cta { margin-top: 44px; text-align: center; }
.modal-details-section { margin-top: 38px; border-top: 1px solid var(--border-light); padding-top: 38px; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    :root { --section-padding: 100px; --gutter: 32px; }
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    /* Bar melebar penuh: latar blur menutupi seluruh lebar header, bukan pill.
       Isinya memakai gutter yang sama dengan .container agar logo, menu, dan
       tombol CTA lurus dengan konten di bawahnya. */
    header { top: 0; }
    header > .container { max-width: none; padding: 0; }
    .nav-pill { max-width: none; border-radius: 0; border-width: 0 0 1px; padding: 12px var(--gutter); }
    /* Tablet & mobile rata kiri sepenuhnya. <br> dilepas supaya headline
       membungkus alami — jumlah barisnya dibiarkan mengikuti lebar layar,
       tidak lagi dipaksa 2 baris seperti di desktop. */
    .hero-inner { padding: 130px var(--gutter) 90px; align-items: flex-start; text-align: left; }
    .hero-main { gap: 22px; align-items: flex-start; }
    .hero-main h1 { font-size: clamp(2.5rem, 7.4vw, 4.5rem); line-height: 1.06; }
    .hero-main h1 br { display: none; }
    .hero-side { align-items: flex-start; }
    .hero-side p { margin: 0 0 32px; }
    .hero-btn-group { justify-content: flex-start; }
    .strip-row figure { width: 360px; height: 435px; }

    .section-head { grid-template-columns: 1fr; gap: 24px; align-items: start; margin-bottom: 52px; }
    .section-head .head-note { justify-self: start; max-width: 100%; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
    /* Tanpa hover di tablet/mobile — panel preview diganti dropdown di dalam barisnya,
       agar deskripsi layanan tetap bisa diakses tanpa kursor. */
    .services-body { grid-template-columns: 1fr; gap: 0; }
    .service-preview { display: none; }
    .service-row { cursor: pointer; }
    /* Tanpa geseran horizontal di layar sempit — hanya warna teks yang berubah,
       ditandai lewat .is-open karena dropdown dibuka dengan tap, bukan hover. */
    .service-row:hover .service-name,
    .service-row.is-active .service-name { transform: none; }
    .service-row.is-open .service-name { color: var(--accent); }
    .service-drop { display: block; }

    .projects-grid { gap: 56px 32px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 32px; }
    .faq-grid { grid-template-columns: 1fr; gap: 44px; }
    .testimonials-grid { grid-template-columns: 1fr; }

    .footer-main { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
    .footer-news { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    :root { --section-padding: 80px; --gutter: 24px; }

    .hero { min-height: 92vh; }
    .hero-inner { padding: 110px var(--gutter) 80px; }
    /* Dibuat dominan: karena membungkus alami, ukurannya tidak lagi dibatasi
       panjang baris terpanjang seperti waktu masih dipaksa 2 baris. */
    .hero-main h1 { font-size: clamp(2.3rem, 10.5vw, 3.8rem); line-height: 1.08; }
    .hero-main { gap: 20px; }
    .hero-side p { font-size: 1.02rem; margin-bottom: 30px; }
    /* Tombol ditumpuk vertikal rata kiri, lebar mengikuti isi */
    .hero-btn-group { flex-direction: column; align-items: flex-start; gap: 12px; }

    .marquee-section { padding: 44px 0 40px; }
    .marquee-track { gap: 90px; padding-right: 90px; }
    .marquee-logo { height: 26px; }

    .statement { padding-bottom: 72px; }
    /* Efek gliding dipertahankan di mobile */
    .strip-row figure { width: 310px; height: 375px; }

    /* Tetap 2 kolom seperti tablet — 4 angka jadi kisi 2x2, bukan satu lajur */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
    .stat-desc { max-width: 100%; }

    .projects-grid { grid-template-columns: 1fr; gap: 56px; }
    .why-grid { grid-template-columns: 1fr; gap: 40px; }

    /* Testimonial jadi carousel geser satu-per-satu */
    .testimonials-grid {
        display: flex; overflow-x: auto; gap: 16px;
        scroll-snap-type: x mandatory; scroll-behavior: smooth;
        scrollbar-width: none; -ms-overflow-style: none;
    }
    .testimonials-grid::-webkit-scrollbar { display: none; }
    .testimonial-card { flex: 0 0 100%; scroll-snap-align: center; }
    .testi-controls { display: flex; }

    .footer-main { gap: 34px 24px; }
    .footer-col li, .footer-contact h3 { margin-bottom: 11px; }
    .footer-col a, .footer-contact h3 { font-size: 0.95rem; }
    .footer-contact h3 { line-height: 1.6rem; }
    .footer-bottom { align-items: center; text-align: center; }
    .footer-bottom-links { justify-content: center; flex-wrap: wrap; }

    .news-form { flex-direction: column; max-width: 100%; }
    .news-form .btn { width: 100%; }
    .footer-bottom { flex-direction: column; gap: 14px; }
    .footer-wordmark { padding: 12px 0 26px; }

    .modal-overlay { padding: 18px; }
    .modal-info { padding: 30px 22px; }
    .modal-info h2 { font-size: 1.85rem; }
    .modal-header-img { height: 260px; }

    #back-to-top { bottom: 22px; right: 22px; width: 46px; height: 46px; }
    #custom-cursor { display: none !important; }
    .hover-target { cursor: pointer !important; }
}

/* Sampai rasio ~1.67, subjek mendarat di ~46-50% tinggi hero — persis menempel
   pada puncak headline yang mulai di ~47-52%; di 1440x900 jaraknya cuma 17px
   dan baris pertama headline masih kejatuhan piksel putih (kontras 1.8:1).
   Menaikkan scrim bisa menutupnya, tapi sekaligus meredupkan badan sosok yang
   justru diminta tetap terang. Memendekkan foto memindahkan subjek ke ATAS
   zona teks, jadi terang dan keterbacaan sama-sama dapat. */
@media (max-aspect-ratio: 5/3) {
    .hero-bg { height: 85%; bottom: auto; }
    .hero-bg::after {
        background:
            radial-gradient(ellipse 88% 74% at 50% 42%, rgba(11,11,12,0) 0%, rgba(11,11,12,0) 32%, rgba(11,11,12,0.48) 70%, rgba(11,11,12,0.9) 100%),
            linear-gradient(180deg, rgba(11,11,12,0.5) 0%, rgba(11,11,12,0) 22%, rgba(11,11,12,0) 46%, rgba(11,11,12,0.6) 64%, rgba(11,11,12,1) 100%);
    }
}

/* Dikunci pada RASIO, bukan lebar: pemicu masalahnya adalah bingkai yang jauh
   lebih ramping daripada foto (1.522), bukan lebar layarnya. Pada rasio < 0.8
   object-fit: cover memaksa zoom ekstrem — di 375x812 hanya ~33% lebar foto
   yang terlihat, subjek membengkak jadi ~47% layar, dan sosok putih bercahaya
   jatuh persis di belakang baris pertama headline yang juga putih. Memakai
   max-width akan melewatkan kasus seperti 601x900 (rasio 0.67) yang sama
   parahnya. Foto karena itu dibatasi ke bagian atas hero lalu dileburkan ke
   latar gelap — subjek mengecil, lebih banyak bagian foto terlihat, dan zona
   teks di bawahnya bersih. */
@media (max-aspect-ratio: 4/5) {
    .hero-bg { height: 64%; bottom: auto; }
    /* Ramp bawah berakhir pada rgba(11,11,12,1) — sama persis dengan
       --bg-dark milik .hero — agar tepi bawah foto lebur tanpa garis sambung. */
    .hero-bg::after {
        background:
            radial-gradient(ellipse 98% 76% at 50% 40%, rgba(11,11,12,0) 0%, rgba(11,11,12,0) 34%, rgba(11,11,12,0.42) 70%, rgba(11,11,12,0.88) 100%),
            linear-gradient(180deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0) 26%, rgba(11,11,12,0) 40%, rgba(11,11,12,0.55) 58%, rgba(11,11,12,1) 100%);
    }
}

/* Ramping DAN pendek (mis. iPhone SE 375x667, atau 320x700): blok teks memakan
   ~62% tinggi hero, jadi tidak tersisa ruang bersih untuk menaruh subjek di
   atasnya — memendekkan foto pun percuma karena teksnya sudah mulai di ~25%
   tinggi hero. Foto karena itu dikembalikan memenuhi hero tapi diredupkan jadi
   tekstur latar. Pada opacity 0.42 di atas --bg-dark, sosok putih turun ke
   sekitar #717172; terukur menghasilkan kontras 6.2:1 terhadap headline putih,
   lolos ambang teks besar (3:1) maupun teks normal (4.5:1). */
@media (max-aspect-ratio: 4/5) and (max-height: 780px) {
    .hero-bg { height: 100%; bottom: 0; }
    .hero-bg img { opacity: 0.42; }
    .hero-bg::after {
        background: linear-gradient(180deg, rgba(11,11,12,0.6) 0%, rgba(11,11,12,0.12) 28%, rgba(11,11,12,0.45) 68%, rgba(11,11,12,0.86) 100%);
    }
}

@media (max-width: 480px) {
    .nav-actions .btn { padding: 10px 17px; font-size: 0.8rem; }
    .strip-row figure { width: 265px; height: 320px; }
}
