/* ==========================================================================
   BI-Global Indonesia — company profile
   Arah desain: "Solution Ecosystem", versi terang.
   Kebaruan visualnya dihabiskan di satu tempat: diagram ekosistem di hero.
   Sisanya sengaja tenang — kartu, pelat, dan daftar dibedakan oleh peran,
   bukan diseragamkan oleh satu radius dan satu bayangan.
   ========================================================================== */

:root {
  /* warna ---------------------------------------------------------------- */
  --paper:    #EDF1F7;   /* kertas biru dingin, bukan putih polos           */
  --wash:     #F5F8FC;   /* ground hero, satu tingkat di atas kertas        */
  --surface:  #FFFFFF;
  --tint:     #E3EAF3;   /* pita seksi untuk ritme vertikal                 */
  --ink:      #0B1B2E;   /* navy pekat — 15.3:1 di atas kertas              */
  --ink-2:    #46586E;   /* teks sekunder — 6.4:1                           */
  --line:     #C7D3E1;   /* garis dekoratif                                 */
  --line-2:   #7C90A8;   /* garis fungsional / batas komponen               */
  --brand:    #1560D8;   /* tautan & aksi — 5.0:1                           */
  --deep:     #0B3F96;   /* pita ajakan & inti ekosistem                    */
  --signal:   #0E8F80;   /* konektor "aktif" — grafis saja, bukan teks      */
  --brand-tint: rgba(21, 96, 216, .07);

  /* bayangan bernuansa navy — abu-abu netral terbaca sebagai bawaan ------- */
  --sh-1: 0 1px 2px rgba(11,27,46,.05), 0 4px 12px rgba(11,27,46,.05);
  --sh-2: 0 2px 4px rgba(11,27,46,.06), 0 14px 34px rgba(11,27,46,.10);

  /* tipografi ------------------------------------------------------------ */
  --f-display: 'Archivo', system-ui, -apple-system, sans-serif;
  --f-body:    'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --f-mono:    'IBM Plex Mono', ui-monospace, 'Cascadia Mono', monospace;

  /* tata letak ----------------------------------------------------------- */
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --pad-sec: clamp(76px, 10vw, 128px);

  /* radius berskala — dibelanjakan per peran, bukan satu nilai untuk semua */
  --r-xs: 4px;    /* detail di dalam komponen        */
  --r-sm: 6px;    /* label, tombol, badge kecil       */
  --r:    10px;   /* kartu                            */
  --r-lg: 14px;   /* komponen menonjol                */
  --r-pill: 999px;
}

/* reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
/* scroll-padding menyesuaikan tinggi kepala (88px) plus sedikit ruang;
   angka yang sama dipakai sebagai rootMargin di script.js */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--brand); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; text-decoration: none;
}
.skip:focus { left: 0; }

/* ikon ------------------------------------------------------------------- */
.ico { width: 24px; height: 24px; display: block; color: var(--brand); }
.ico--sm { width: 18px; height: 18px; }

/* penanda seksi ---------------------------------------------------------- */
.kicker {
  font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.06em; color: var(--brand);
  display: flex; align-items: center; gap: 10px;
}
.kicker::before {
  content: ''; width: 18px; height: 1px; background: currentColor; flex: none;
}
.kicker--on-deep { color: rgba(255,255,255,.72); }

/* tombol ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 11px 20px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font-family: var(--f-body); font-size: 0.9375rem; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease,
              color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.btn--lg { padding: 15px 26px; font-size: 1rem; min-height: 52px; }
.btn--solid   { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(11,27,46,.14); }
.btn--solid:hover   { background: var(--deep); box-shadow: var(--sh-2); transform: translateY(-1px); }
.btn--ghost   { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover   { border-color: var(--line-2); box-shadow: var(--sh-1); transform: translateY(-1px); }
.btn--light   { background: #fff; color: var(--deep); }
.btn--light:hover   { background: var(--paper); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.12); }
/* umpan balik tekan: kembali rata supaya tombol terasa benar-benar ditekan */
.btn:active { transform: translateY(1px); transition-duration: 60ms; }

/* ── kepala ─────────────────────────────────────────────────────────────── */
.head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245,248,252,.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}
.head.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(245,248,252,.94);
  box-shadow: 0 1px 20px rgba(11,27,46,.05);
}
/* Lockup barunya dua baris teks plus badge, jadi tingginya harus naik:
   di 27px seperti logo lama, kedua baris nama jadi tak terbaca. */
.head__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.head__brand { display: block; line-height: 0; }
.head__brand img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list a {
  position: relative; display: block;
  color: var(--ink-2); font-size: 0.9375rem; text-decoration: none;
  padding: 8px 12px; border-radius: var(--r-sm);
  transition: color 180ms ease, background-color 180ms ease;
}
.nav__list a:hover { color: var(--ink); background: var(--brand-tint); }
.nav__list a.is-active { color: var(--ink); font-weight: 500; }
/* indikator seksi aktif: titik, bukan garis bawah — tidak menggeser baris */
.nav__list a.is-active::after {
  content: ''; position: absolute; left: 50%; bottom: 1px;
  width: 4px; height: 4px; margin-left: -2px;
  background: var(--brand); border-radius: var(--r-pill);
}

.burger {
  display: none; align-items: center; gap: 9px;
  min-height: 44px; padding: 8px 14px 8px 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--ink); font-family: var(--f-body); font-size: 0.9375rem; cursor: pointer;
}
.burger__box { display: grid; gap: 5px; width: 18px; }
.burger__box span { display: block; height: 1.5px; background: currentColor; }

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate;
  background: var(--wash);
  padding-block: clamp(52px, 7vw, 88px) var(--pad-sec);
  overflow: hidden;
}
/* kisi halus yang memudar ke tepi — memberi bidang teknis tanpa jadi hiasan */
.hero__field {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(11,27,46,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,27,46,.055) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(115% 82% at 68% 34%, #000 12%, transparent 72%);
          mask-image: radial-gradient(115% 82% at 68% 34%, #000 12%, transparent 72%);
}
.hero__in {
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(40px, 6vw, 76px); align-items: center;
}

.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  font-family: var(--f-mono); font-size: 0.75rem; font-weight: 450;
  letter-spacing: 0.02em; color: var(--ink-2);
}
.eyebrow span { display: flex; align-items: center; gap: 14px; }
.eyebrow span + span::before {
  content: ''; width: 1px; height: 11px; background: var(--line-2); opacity: .8;
}

.hero__title {
  margin-top: 22px;
  font-size: clamp(2.5rem, 5.6vw, 4rem);
  line-height: 1.01; letter-spacing: -0.035em; max-width: 15ch;
  text-wrap: balance;
}
.hero__lead {
  margin-top: 26px; max-width: 52ch;
  color: var(--ink-2); font-size: 1.0625rem; line-height: 1.72;
}
.hero__act { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* elemen tanda tangan: ekosistem solusi ----------------------------------- */
.eco { margin: 0; }
.eco__stage { position: relative; aspect-ratio: 560 / 520; }

.eco__wire { position: absolute; inset: 0; width: 100%; height: 100%; }
.eco__link {
  stroke: var(--line-2); stroke-width: 1.25; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  animation: wire 760ms cubic-bezier(.4,.1,.2,1) backwards;
  animation-delay: calc(var(--d) * 90ms + 240ms);
}
/* satu penghubung ditandai aktif — menunjukkan aliran, bukan menghias semua */
.eco__link:nth-child(2) { stroke: var(--signal); stroke-width: 1.5; }

/* kilasan yang menyusuri jalur: satu ruas pendek (7% panjang jalur) yang
   bergeser dari inti ke node. Dibuat dari dasharray, bukan elemen bergerak,
   supaya ikut ter-skala dengan viewBox dan tunduk pada reduced-motion. */
.eco__flow {
  stroke: var(--brand); stroke-width: 2.25; stroke-linecap: round;
  stroke-dasharray: 0.07 0.93; opacity: .8;
  animation: flow 5s cubic-bezier(.55,0,.45,1) infinite;
  animation-delay: calc(var(--d) * 950ms + 1700ms);
}
.eco__flow:nth-child(6) { stroke: var(--signal); }

.eco__core {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  z-index: 2; width: 31%; min-width: 142px;
  display: grid; gap: 3px; justify-items: center; text-align: center;
  padding: 20px 16px;
  background: var(--deep); color: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 0 0 7px rgba(21,96,216,.09), var(--sh-2);
  /* dua animasi pada properti berbeda: 'core' hanya opacity+transform,
     'halo' hanya box-shadow — jadi keduanya tidak saling menimpa. */
  animation:
    core 620ms cubic-bezier(.2,.7,.3,1) 60ms backwards,
    halo 6s ease-in-out 1200ms infinite;
}
.eco__core-k {
  font-family: var(--f-mono); font-size: 0.6875rem;
  letter-spacing: 0.04em; color: rgba(255,255,255,.72);
}
.eco__core-v {
  font-family: var(--f-display); font-weight: 700; font-size: 1.1875rem;
  letter-spacing: -0.02em; line-height: 1.2;
}

.eco__node {
  position: absolute; z-index: 1; width: 43%; min-width: 146px;
  translate: -50% -50%;
  display: grid; gap: 3px;
  padding: 13px 15px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-1);
  animation:
    node 560ms cubic-bezier(.2,.7,.3,1) backwards,
    drift 9s ease-in-out infinite alternate;
  animation-delay:
    calc(var(--d) * 90ms + 430ms),
    calc(var(--d) * 700ms + 1500ms);
}
.eco__node b {
  font-family: var(--f-display); font-weight: 600; font-size: 0.9375rem;
  line-height: 1.28; letter-spacing: -0.012em;
}
.eco__node span { font-size: 0.75rem; line-height: 1.45; color: var(--ink-2); }

.eco__node--a { left: 22%; top: 16%; }
.eco__node--b { left: 78%; top: 28%; }
.eco__node--c { left: 22%; top: 76%; }
.eco__node--d { left: 78%; top: 86%; }

.eco__cap {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: 0.8125rem; line-height: 1.55;
}

@keyframes wire { from { stroke-dashoffset: 1; } }
@keyframes core { from { opacity: 0; transform: scale(.94); } }
@keyframes node { from { opacity: 0; transform: translateY(12px); } }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-6px); } }
@keyframes flow { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
/* cincin inti bernapas pelan — menahan pandangan di titik fokus */
@keyframes halo {
  0%, 100% { box-shadow: 0 0 0 7px rgba(21,96,216,.09), var(--sh-2); }
  50%      { box-shadow: 0 0 0 15px rgba(21,96,216,.05), var(--sh-2); }
}

/* fakta ringkas ---------------------------------------------------------- */
.facts {
  margin-top: clamp(56px, 8vw, 92px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 48px);
}
.facts li { border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 6px; }
.facts b { font-family: var(--f-display); font-weight: 600; font-size: 0.9375rem; }
.facts span { font-size: 0.9375rem; line-height: 1.62; color: var(--ink-2); }

/* ── kerangka seksi ─────────────────────────────────────────────────────── */
.sec { padding-block: var(--pad-sec); }
.sec--tint { background: var(--tint); }

.sec__head { max-width: 62ch; margin-bottom: clamp(40px, 5vw, 60px); }
.sec__title {
  margin-top: 16px;
  font-size: clamp(1.875rem, 3.7vw, 2.625rem); line-height: 1.1;
  letter-spacing: -0.028em; text-wrap: balance;
}
.sec__title--sub { margin-top: 0; font-size: clamp(1.25rem, 2.2vw, 1.5rem); letter-spacing: -0.02em; }
.sec__intro { margin-top: 16px; color: var(--ink-2); line-height: 1.72; }

.sec__grid {
  display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px); align-items: start;
}
.sec__grid + .sec__grid { margin-top: clamp(48px, 6vw, 80px); }

.prose p { color: var(--ink-2); line-height: 1.76; max-width: 66ch; }
.prose p + p { margin-top: 16px; }
.prose .prose__lead { color: var(--ink); font-size: 1.1875rem; line-height: 1.58; }

.vm__visi {
  border-left: 2px solid var(--brand); padding-left: 22px;
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.1875rem, 2.2vw, 1.5rem); line-height: 1.42;
  letter-spacing: -0.018em; max-width: 46ch;
}
.vm__visi-note { margin-top: 18px; color: var(--ink-2); line-height: 1.76; max-width: 60ch; }

/* daftar berbaris --------------------------------------------------------- */
.rows li { border-top: 1px solid var(--line); padding: 19px 0; display: grid; gap: 5px; }
.rows b { font-family: var(--f-display); font-weight: 600; font-size: 1.0625rem; }
.rows span { color: var(--ink-2); font-size: 1rem; line-height: 1.66; max-width: 58ch; }

/* ── layanan: kartu kapabilitas ─────────────────────────────────────────── */
.svcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 20px); }
.svc {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.svc:hover { border-color: var(--brand); box-shadow: var(--sh-2); transform: translateY(-3px); }
.svc__no {
  position: absolute; top: clamp(22px, 3vw, 30px); right: clamp(22px, 3vw, 30px);
  font-family: var(--f-mono); font-size: 0.8125rem; color: var(--line-2);
  font-variant-numeric: tabular-nums;
}
.svc__ico {
  width: 30px; height: 30px; color: var(--brand);
  transition: transform 220ms ease;
}
.svc:hover .svc__ico { transform: translateY(-2px); }
.svc__name { font-size: 1.25rem; font-weight: 600; line-height: 1.28; padding-right: 40px; }
.svc__desc { color: var(--ink-2); font-size: 1rem; line-height: 1.7; }

.svc__go {
  margin-top: auto; padding-top: 4px;
  display: inline-flex; align-items: center; gap: 8px; align-self: start;
  color: var(--brand); font-size: 0.9375rem; font-weight: 500; text-decoration: none;
}
.svc__go svg { width: 17px; height: 17px; transition: transform 220ms ease; }
.svc:hover .svc__go svg, .svc__go:hover svg { transform: translateX(4px); }
.svc__go:hover { text-decoration: underline; }

.det { margin-top: auto; border-top: 1px solid var(--line); padding-top: 16px; }
.det__sum {
  display: flex; align-items: center; gap: 8px;
  min-height: 32px; cursor: pointer; list-style: none;
  color: var(--brand); font-size: 0.9375rem; font-weight: 500;
}
.det__sum::-webkit-details-marker { display: none; }
.det__chev { flex: none; width: 18px; height: 18px; transition: transform 220ms ease; }
.det[open] .det__chev { transform: rotate(180deg); }
.det__list {
  margin-top: 16px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px clamp(16px, 3vw, 32px);
}
/* daftar muncul bertahap saat dibuka — menjawab aksi pengguna, bukan hiasan */
.det[open] .det__list li { animation: detIn 380ms cubic-bezier(.2,.7,.3,1) backwards; }
.det[open] .det__list li:nth-child(1)  { animation-delay: 20ms; }
.det[open] .det__list li:nth-child(2)  { animation-delay: 45ms; }
.det[open] .det__list li:nth-child(3)  { animation-delay: 70ms; }
.det[open] .det__list li:nth-child(4)  { animation-delay: 95ms; }
.det[open] .det__list li:nth-child(5)  { animation-delay: 120ms; }
.det[open] .det__list li:nth-child(6)  { animation-delay: 145ms; }
.det[open] .det__list li:nth-child(7)  { animation-delay: 170ms; }
.det[open] .det__list li:nth-child(8)  { animation-delay: 195ms; }
.det[open] .det__list li:nth-child(9)  { animation-delay: 220ms; }
.det[open] .det__list li:nth-child(10) { animation-delay: 245ms; }
@keyframes detIn { from { opacity: 0; transform: translateY(-6px); } }
.det__list li {
  position: relative; padding-left: 18px;
  color: var(--ink-2); font-size: 0.9375rem; line-height: 1.5;
}
.det__list li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 1px; background: var(--line-2);
}

/* ── mengapa kami ───────────────────────────────────────────────────────── */
.whys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); }
.whys li { border-top: 1px solid var(--line); padding: 22px 0 34px; display: grid; gap: 8px; }
.whys__no {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1;
  letter-spacing: -0.03em; color: var(--line-2);
  font-variant-numeric: tabular-nums; margin-bottom: 4px;
}
.whys b { font-family: var(--f-display); font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.015em; }
.whys span { color: var(--ink-2); font-size: 1rem; line-height: 1.68; max-width: 46ch; }

/* ── proyek ─────────────────────────────────────────────────────────────── */
.grp {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px;
  margin: clamp(44px, 5vw, 64px) 0 20px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line-2);
}
.grp:first-of-type { margin-top: 0; }
.grp__name { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.018em; }
.grp__note { font-family: var(--f-mono); font-size: 0.75rem; color: var(--ink-2); }

.plates { display: grid; gap: clamp(12px, 1.6vw, 18px); }

/* height:auto wajib — atribut width/height di HTML mengunci tinggi gambar
   sebagai presentational hint dan membuat aspect-ratio di bawah diabaikan. */
.plate, .shot, .phone { background: var(--surface); }
.plate img, .shot img, .phone img { display: block; width: 100%; height: auto; }

/* kolom eksplisit, bukan auto-fit — auto-fit menyisakan satu pelat yatim
   di baris kedua begitu lebar isi bergeser sedikit saja. */
/* infrastruktur: tiga kolom. Foto sumbernya hanya ~270px — satu pelat utama
   selebar dua kolom akan diperbesar 2,6x dan terlihat buram. */
.plates--infra { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plate {
  border: 1px solid var(--line); border-radius: var(--r); padding: 6px;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
.plate:hover { border-color: var(--line-2); box-shadow: var(--sh-1); }
.plate img { border-radius: var(--r-xs); aspect-ratio: 3 / 4; object-fit: cover; }

/* aplikasi web: dua kolom setara. Enam aset tidak bisa dibagi jadi
   "satu unggulan + sisanya" tanpa menyisakan pelat yatim di baris akhir. */
.plates--web { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shot {
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.shot:hover { border-color: var(--line-2); box-shadow: var(--sh-2); transform: translateY(-2px); }
/* bilah peramban: konvensi nyata, menandai ini aplikasi web bukan foto */
.shot__bar {
  display: flex; align-items: center; gap: 6px;
  height: 30px; padding-inline: 13px;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.shot__bar i { width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--line-2); opacity: .55; }
/* .shot sudah overflow:hidden, jadi gambar aman diperbesar sedikit saat hover */
.shot img {
  aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 0;
  transition: transform 620ms cubic-bezier(.2,.7,.3,1);
}
.shot:hover img { transform: scale(1.028); }
.shot__cap {
  padding: 14px 16px 16px;
  color: var(--ink-2); font-size: 0.875rem; line-height: 1.5;
}
.shot__cap b {
  display: block; color: var(--ink); font-family: var(--f-display);
  font-weight: 600; font-size: 0.9375rem; letter-spacing: -0.012em; margin-bottom: 2px;
}

/* aplikasi mobile: bingkai perangkat, bukan pelat datar */
.plates--mobile { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.phone {
  position: relative; padding: 9px;
  background: var(--ink); border-radius: 22px;
  box-shadow: var(--sh-1);
  transition: box-shadow 220ms ease, transform 220ms ease;
}
.phone:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.phone__notch {
  position: absolute; left: 50%; top: 9px; translate: -50% 0; z-index: 1;
  width: 34%; height: 12px;
  background: var(--ink); border-radius: 0 0 8px 8px;
}
.phone img { border-radius: 14px; aspect-ratio: 9 / 19; object-fit: cover; object-position: 50% 0; }

/* ── nilai ──────────────────────────────────────────────────────────────── */
.vals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 52px); }
.vals li { border-top: 1px solid var(--line); padding: 18px 0 32px; display: grid; gap: 6px; }
.vals__no {
  font-family: var(--f-mono); font-size: 0.75rem; color: var(--brand);
  font-variant-numeric: tabular-nums; margin-bottom: 4px;
}
.vals b { font-family: var(--f-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.012em; }
.vals span { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.64; }

/* ── ajakan & kontak ────────────────────────────────────────────────────── */
.cta {
  background: var(--deep); color: #fff;
  padding-block: clamp(68px, 9vw, 112px);
}
.cta__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(36px, 5vw, 76px); align-items: start; }
.cta__title { margin-top: 16px; font-size: clamp(2rem, 3.8vw, 2.875rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 15ch; }
.cta__lead { margin-top: 18px; color: rgba(255,255,255,.85); line-height: 1.72; max-width: 52ch; }
.cta__act { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta :focus-visible { outline-color: #fff; }

.cta__info li {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 13px;
  padding: 15px 0; border-top: 1px solid rgba(255,255,255,.22); align-items: start;
}
.cta__info .ico--sm { grid-row: span 2; margin-top: 3px; color: rgba(255,255,255,.75); }
.cta__k { font-size: 0.75rem; color: rgba(255,255,255,.78); }
.cta__v { color: #fff; font-size: 0.9375rem; line-height: 1.55; text-decoration: none; overflow-wrap: anywhere; }
a.cta__v:hover { text-decoration: underline; }

/* ── kaki ───────────────────────────────────────────────────────────────── */
.foot { background: var(--ink); color: rgba(255,255,255,.7); padding-block: clamp(48px, 6vw, 68px) 32px; }
.foot__in {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(32px, 5vw, 64px);
}
.foot__lockup { display: flex; align-items: center; gap: 14px; }
.foot__mark { height: 46px; width: auto; display: block; flex: none; }
.foot__name {
  color: #fff; font-family: var(--f-display); font-weight: 700;
  font-size: 1.0625rem; line-height: 1.22; letter-spacing: -0.015em;
  max-width: 11ch;
}
.foot__tag { margin-top: 18px; color: #fff; font-family: var(--f-display); font-weight: 500; font-size: 1.0625rem; }
.foot__pos { margin-top: 10px; font-size: 0.875rem; line-height: 1.66; max-width: 42ch; }

.foot__h {
  font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.06em; color: rgba(255,255,255,.55);
  margin-bottom: 14px;
}
.foot__nav ul, .foot__col ul { display: grid; gap: 10px; }
.foot__nav a, .foot__col a { color: rgba(255,255,255,.86); font-size: 0.9375rem; text-decoration: none; }
.foot__nav a:hover, .foot__col a:hover { color: #fff; text-decoration: underline; }
.foot__col li { font-size: 0.9375rem; line-height: 1.55; overflow-wrap: anywhere; }

.foot__copy {
  margin-top: clamp(40px, 5vw, 56px); padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 0.8125rem;
}
.foot :focus-visible { outline-color: #fff; }

/* ── responsif ──────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__title { max-width: 19ch; }
  .eco__stage { max-width: 560px; }
  .cta__in { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-2);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { display: block; padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav__list a:hover { background: transparent; }
  .nav__list a.is-active { box-shadow: inset 2px 0 0 var(--brand); padding-left: 12px; }
  .nav__list a.is-active::after { display: none; }
  .nav__cta { margin-top: 16px; }
  .burger { display: inline-flex; }
  .head__in { position: relative; }

  .sec__grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts li { padding-block: 16px 20px; }
  .svcs { grid-template-columns: 1fr; }
  .whys { grid-template-columns: 1fr; }
  .vals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plates--web { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  /* ekosistem beralih dari orbit ke susunan — orbit jadi terlalu padat
     untuk dibaca di layar sempit, garisnya ikut dilepas. */
  .eco__stage { position: static; aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .eco__wire { display: none; }
  .eco__core, .eco__node {
    position: static; translate: none; width: auto; min-width: 0;
  }
  .eco__core { grid-column: 1 / -1; justify-items: start; text-align: left; padding: 18px 20px; }
  .eco__node { animation: node 560ms cubic-bezier(.2,.7,.3,1) backwards; animation-delay: calc(var(--d) * 80ms + 200ms); }
}

@media (max-width: 620px) {
  .hero__act .btn, .cta__act .btn { flex: 1 1 100%; }
  /* eyebrow membungkus di layar sempit — pemisah dilepas supaya tidak
     tersisa garis menggantung di awal baris kedua. */
  .eyebrow { gap: 6px 18px; }
  .eyebrow span + span::before { display: none; }
  .vals { grid-template-columns: 1fr; }
  .det__list { grid-template-columns: 1fr; }
  .eco__stage { grid-template-columns: 1fr; }
  .plates--mobile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plates--infra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__in { grid-template-columns: 1fr; }
}

/* ── singkap saat tergulir ──────────────────────────────────────────────── */
/* Kelas .js-rise hanya dipasang skrip di <head> ketika IntersectionObserver
   ada DAN pengguna tidak minta gerak dikurangi. Tanpa JS, tanpa dukungan,
   atau dengan reduced-motion, seluruh aturan di bawah tidak pernah aktif dan
   halaman tampil utuh — jadi isi tidak pernah tersangkut di opacity 0.
   Hero dikecualikan: bagian itu sudah punya rangkaian geraknya sendiri. */
.js-rise .sec__head,
.js-rise .sec__grid,
.js-rise .grp,
.js-rise .facts li,
.js-rise .svc,
.js-rise .whys li,
.js-rise .vals li,
.js-rise .plate,
.js-rise .shot,
.js-rise .phone,
.js-rise .cta__copy,
.js-rise .cta__info,
.js-rise .foot__in {
  opacity: 0; transform: translateY(18px);
  transition: opacity 640ms cubic-bezier(.2,.7,.3,1),
              transform 640ms cubic-bezier(.2,.7,.3,1);
}
/* Kelas ditulis dua kali dengan sengaja. Aturan sembunyi di atas memakai
   pemilih elemen (".facts li" = 0,2,1) yang mengalahkan ".is-in" biasa
   (0,2,0), sehingga elemen tanpa kelas — li di facts, whys, dan vals —
   akan tetap transparan meski sudah ditandai. Menggandakan kelas menaikkan
   spesifisitas ke 0,3,0 tanpa perlu !important. */
.js-rise .is-in.is-in { opacity: 1; transform: none; }

/* ── gerak: satu momen saat muat, selebihnya diam ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  /* jaring pengaman: kalau preferensi berubah setelah halaman dimuat,
     kelas .js-rise sudah terlanjur terpasang — paksa semuanya tampil. */
  .js-rise .sec__head, .js-rise .sec__grid, .js-rise .grp, .js-rise .facts li,
  .js-rise .svc, .js-rise .whys li, .js-rise .vals li, .js-rise .plate,
  .js-rise .shot, .js-rise .phone, .js-rise .cta__copy, .js-rise .cta__info,
  .js-rise .foot__in { opacity: 1; transform: none; }
  .shot:hover img { transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .svc:hover, .shot:hover, .phone:hover, .btn--solid:hover, .btn--ghost:hover { transform: none; }
}
