/* Hasnesia: lihat DESIGN.md untuk alasan setiap keputusan.
   IDEA    lembar revisi berubah jadi layar preview: pulpen merah dosen, stabilo, tinta printer
   COLOUR  setiap warna punya satu arti (lihat DESIGN.md):
           hitam  = isi dan tindakanmu      merah  = catatan dosen, masalah, error
           biru   = hasil Hasnesia yang sudah live (penanda kecil, tidak pernah untuk teks)
           biru muda = ruang kerja Hasnesia (bidang latar dengan teks hitam)
   TYPE    Archivo saja: lebar 125 untuk judul, lebar 100 untuk teks
   SHAPE   bidang warna dan kertas tanpa radius, kontrol 6px, bayangan hanya untuk benda fisik */

:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #000000;
  --live: #0091ff;
  --live-soft: #bfe1ff;
  --tint: #e8f4ff;
  --red: #d7261e;
  --grey: #f2f2f2;
  --muted: #5f5f5f;
  --line: #d9d9d9;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); font-stretch: 100%; overflow-x: clip; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd, dt, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: max(5vw, 16px); }
@media (min-width: 1360px) { .wrap { padding-inline: 0; } }
.band { padding-block: clamp(72px, 9vw, 128px); }
.band--grey { background: var(--grey); }
.band--ink { background: var(--ink); color: var(--paper); }
.band--tint { background: var(--tint); }

/* Skala tipe: 72 / 44 / 22 / 17 (+14) */
h1, .h2, .h3x, .closing h2, .brand { font-stretch: 125%; font-weight: 800; letter-spacing: -0.03em; }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; text-wrap: balance; max-width: 17ch; }
.h2, .closing h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.06; text-wrap: balance; max-width: 22ch; }
.h3x { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; max-width: 22ch; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.sub { margin-top: 18px; color: var(--muted); max-width: 58ch; }
.band--ink .sub { color: #bdbdbd; }

/* Tombol */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 2px solid var(--ink); border-radius: 6px; font: 600 16px/1 var(--font); cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2b2b2b; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

/* Ikon (digambar sendiri, garis 2px), petak ikon, avatar, chip.
   Petak merah = masalah, petak gelap dengan titik biru = komitmen Hasnesia */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile { position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 2px solid var(--ink); background: var(--paper); }
.tile--red { color: var(--red); border-color: var(--red); background: #fdeceb; }
.tile--dark { color: var(--paper); border-color: #4a4a4a; background: #141414; }
.tile--dark::after { content: ""; position: absolute; top: -5px; right: -5px; width: 10px; height: 10px; background: var(--live); }
.avatar { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--tint); color: var(--ink); border: 2px solid var(--ink); font-stretch: 125%; font-weight: 800; font-size: 20px; object-fit: cover; }
.avatar--sm { width: 36px; height: 36px; font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 4px 10px; border: 1.5px solid currentColor; border-radius: 6px; font-size: 13px; font-weight: 600; }
[data-placeholder] { display: none !important; } /* slot contoh tidak pernah tampil ke publik */

/* Navigasi */
.nav { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 2px solid var(--ink); }
.nav__in { display: flex; align-items: center; gap: 36px; height: 64px; }
.brand { display: inline-flex; flex: none; line-height: 0; }
.brand img { display: block; width: auto; height: 32px; }
.foot .brand img { height: 90px; }
.nav__links { display: flex; gap: 28px; font-weight: 500; font-size: 16px; }
.nav__links a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav__cta { margin-left: auto; }
.nav__toggle { display: none; flex-direction: column; gap: 6px; padding: 12px 8px; background: none; border: 0; cursor: pointer; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .2s; }
@media (max-width: 860px) {
  .nav__links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 0 max(5vw, 16px) 12px; background: var(--paper); border-bottom: 2px solid var(--ink); }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 14px 0; border-top: 1px solid rgba(0, 0, 0, .2); }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
}
@media (max-width: 420px) { .nav__cta { display: none; } .nav__toggle { margin-left: auto; } }

/* Hero */
.hero { background: var(--tint); padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 96px); overflow: hidden; }
.hero__grid { display: grid; gap: 32px; }
.lead { font-size: 18px; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__fact { margin-top: 20px; font-size: 15px; max-width: 42ch; }
@media (max-width: 480px) { .hero__cta .btn { flex: 1 1 100%; } }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; row-gap: 40px; }
  .hero__grid h1 { grid-column: 1 / -1; }
  .hero__copy { padding-top: 8px; }
}

/* Adegan: kertas print-an + HP */
.scene { position: relative; min-height: 500px; }
.sheet { position: relative; width: min(100%, 520px); padding: 26px 28px 30px; background: var(--paper); transform: rotate(-2deg); box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 6px 10px 0 rgba(0, 0, 0, .10); }
.sheet__head { font-size: 13px; color: var(--muted); }
.shot { width: 62%; margin-top: 14px; padding: 18px; border: 1px solid #bcbcbc; }
.shot__title { font-weight: 700; font-size: 18px; }
.shot__field { position: relative; margin-top: 10px; height: 36px; padding: 0 10px; border: 1px solid #9a9a9a; font-size: 14px; color: #6a6a6a; line-height: 34px; }
.shot__btn { margin-top: 14px; height: 36px; background: #3a3a3a; color: #fff; font-size: 14px; line-height: 36px; text-align: center; }
.ink { position: absolute; left: -16px; top: -14px; width: calc(100% + 32px); height: calc(100% + 28px); overflow: visible; }
.ink path { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.ink-note { position: absolute; top: 74px; right: 18px; width: 30%; color: var(--red); font-style: italic; font-weight: 600; font-size: 19px; line-height: 1.15; transform: rotate(-5deg); }
.sheet__cap { margin-top: 14px; font-size: 13px; color: var(--muted); }
.sheet__sign { margin-top: 18px; padding-top: 10px; width: 46%; border-top: 1px solid var(--ink); font-size: 13px; }
.phone { position: absolute; right: 0; bottom: 0; width: 236px; padding: 10px; background: var(--ink); border-radius: 34px; box-shadow: 10px 14px 0 rgba(0, 0, 0, .12); }
.phone__notch { position: absolute; top: 14px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 10px; background: var(--ink); z-index: 2; }
.phone__url { padding: 34px 14px 10px; background: var(--paper); border-radius: 26px 26px 0 0; font-size: 11px; color: var(--muted); text-align: center; border-bottom: 1px solid var(--line); }
.app { padding: 18px 16px 26px; background: var(--paper); border-radius: 0 0 26px 26px; }
.app__title { font-weight: 800; font-stretch: 125%; font-size: 22px; letter-spacing: -0.02em; }
.app__label { display: block; margin-top: 14px; font-size: 12px; font-weight: 600; }
.app__field { margin-top: 5px; height: 40px; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: 6px; font-size: 15px; line-height: 37px; }
.app__field--new { background: var(--live); }
.app__btn { margin-top: 18px; height: 42px; border-radius: 6px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 15px; line-height: 42px; text-align: center; }
.toast { position: absolute; bottom: 28px; right: calc(100% - 28px); width: 200px; padding: 10px 14px; background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.35; border-radius: 6px; }
.toast { border-left: 6px solid var(--live); }
.toast b { display: block; color: var(--paper); font-size: 14px; }
.scene__cap { position: absolute; left: 0; bottom: 0; font-size: 13px; }
@media (max-width: 999px) { .scene { min-height: 0; padding-bottom: 210px; max-width: 640px; } }
@media (max-width: 560px) {
  .scene { padding-bottom: 170px; }
  .sheet { padding: 18px 18px 22px; }
  .shot { width: 68%; padding: 12px; }
  .ink-note { top: 60px; right: 10px; width: 27%; font-size: 15px; }
  .phone { width: 180px; padding: 8px; border-radius: 28px; right: -4px; }
  .phone__url { padding-top: 28px; font-size: 10px; border-radius: 21px 21px 0 0; }
  .app { padding: 12px 12px 18px; border-radius: 0 0 21px 21px; }
  .app__title { font-size: 18px; }
  .app__field { height: 34px; line-height: 31px; font-size: 14px; }
  .app__btn { height: 36px; line-height: 36px; }
  .toast { width: 150px; bottom: 20px; font-size: 12px; }
  .scene__cap { bottom: auto; top: calc(100% + 8px); }
}

/* Satu momen gerak saat dimuat */
@media (prefers-reduced-motion: no-preference) {
  .ink path { stroke-dashoffset: 1; animation: draw .9s .5s ease-out forwards; }
  .ink-note { opacity: 0; animation: show .4s 1.3s ease-out forwards; }
  .app__field--new { animation: mark .5s 1.9s ease-out both; }
  .toast { opacity: 0; animation: drop .4s 2.2s ease-out forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes show { to { opacity: 1; } }
@keyframes mark { from { background: var(--paper); } to { background: var(--live); } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Jeda antar bimbingan */
.gap { display: grid; gap: 48px; margin-top: 56px; }
@media (min-width: 1000px) { .gap { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 72px; align-items: start; } }
.strip__days, .strip__cells { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; }
.strip__days { font-size: 14px; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.strip__row { margin-top: 24px; }
.strip__name { font-weight: 700; margin-bottom: 8px; }
.strip__cells i { display: block; height: 44px; background: var(--grey); }
.strip__sum { margin-top: 10px; font-size: 15px; font-weight: 600; }
.strip__sum--bad { color: var(--red); }
.k-bim { background: var(--ink) !important; }
.k-wait { background: repeating-linear-gradient(-45deg, #c9c9c9 0 2px, #f2f2f2 2px 7px) !important; }
.k-miss { background: var(--red) !important; }
.k-live { background: var(--live) !important; box-shadow: inset 0 0 0 2px var(--ink); }
.k-check { background: var(--live-soft) !important; box-shadow: inset 0 0 0 1px #4aa8ff; }
.k-ready { background: var(--paper) !important; box-shadow: inset 0 0 0 1px var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14px; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 16px; height: 16px; flex: none; }
.note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.pains { display: grid; gap: 10px; }
.pains li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px; background: var(--grey); color: var(--muted); font-size: 16px; }
.pains b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 17px; }
@media (max-width: 480px) { .strip__days span:nth-child(even) { visibility: hidden; } .strip__cells i { height: 32px; } }

/* Cara kerja */
.split { display: grid; gap: 56px; }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } .lhs { position: sticky; top: 104px; align-self: start; } }
.head2 { display: grid; gap: 0; margin-bottom: 56px; }
@media (min-width: 1000px) { .head2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: end; } .head2 .sub { margin-top: 0; } }
.sla { align-self: start; background: var(--paper); padding: clamp(24px, 3vw, 40px); border: 2px solid var(--ink); }
.sla__title { font-stretch: 125%; font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
.sla__sub { margin-top: 6px; font-size: 15px; color: var(--muted); }
.sla__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: end; padding: 22px 0 0; }
.sla__row b { display: block; font-size: 18px; }
.sla__row span { font-size: 15px; color: var(--muted); }
.sla__row strong { font-stretch: 125%; font-weight: 800; font-size: 26px; letter-spacing: -0.02em; white-space: nowrap; }
.bar { grid-column: 1 / -1; height: 14px; background: var(--grey); }
.bar i { display: block; height: 100%; background: var(--ink); }
.sla__more { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }

/* Layanan: kartu dengan gambar garis. Biru = bagian yang dibangun Hasnesia, merah = masalah */
.svcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.svc { display: flex; flex-direction: column; }
.svc__art { aspect-ratio: 16 / 9.5; margin-bottom: 20px; background: var(--grey); border: 1.5px solid var(--ink); transition: background-color .2s; }
.svc:hover .svc__art { background: var(--tint); }
.svc__art svg { width: 100%; height: 100%; }
.svc h3 { font-stretch: 125%; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.svc p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.svc .svc__tech { margin-top: auto; padding-top: 14px; color: var(--ink); font-size: 15px; font-weight: 500; }
.svc--rescue h3 { color: var(--red); }
@media (max-width: 999px) { .svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svcs { grid-template-columns: minmax(0, 1fr); } }
.svc__art .o, .vis .o { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.svc__art .w { fill: var(--paper); }
.svc__art .g { fill: #e3e3e3; }
.svc:hover .svc__art .g { fill: #d3e9ff; }
.svc__art .f { fill: #bdbdbd; }
.svc__art .b { fill: var(--live); }
.svc__art .d { fill: var(--ink); }
.svc__art .r { fill: var(--red); }
.svc__art .t, .svc__art .t line { stroke: #8f8f8f; stroke-width: 6; stroke-linecap: round; }
.svc__art .l { stroke: #cfcfcf; stroke-width: 6; stroke-linecap: round; }
.svc__art .n { font: 800 20px var(--font); font-stretch: 125%; fill: var(--ink); }
.svc__art .n.s { font-size: 12px; font-weight: 700; font-stretch: 100%; }
.svc__art .n.m { fill: #8f8f8f; }
.svc__art .hp { stroke: #cfcfcf; stroke-width: 7; stroke-linecap: round; }
.svc__art .hpf { stroke: var(--red); stroke-width: 7; stroke-linecap: round; }
.svc__art .dash { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 4 5; }
.svc__art .ln { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.svc__art .ln2 { fill: none; stroke: #9a9a9a; stroke-width: 2; stroke-dasharray: 5 5; }
.svc__art .rs { fill: none; stroke: var(--red); stroke-width: 2; }
.svc__art .rb { fill: #fdeceb; stroke: var(--red); stroke-width: 1.5; }
.svc__art .n.rt { fill: var(--red); }
.svc__art .ok { fill: none; stroke: var(--live); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

/* Project (portofolio). Slot kosong digambar putus-putus; label "Contoh tempat" hanya muncul selama data-placeholder ada */
.band--flush { padding-top: 0; }
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.work { position: relative; display: flex; flex-direction: column; gap: 18px; }
.work[hidden] { display: none; }
.work--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.work__shot { display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--grey); border: 1.5px dashed #a8a8a8; color: var(--muted); font-size: 14px; text-align: center; }
.work img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--grey); border: 1px solid var(--line); }
.work__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.work__body { padding-top: 14px; border-top: 2px solid var(--ink); }
.work__type { font-size: 15px; color: var(--muted); }
.work__title { margin-top: 4px; font-stretch: 125%; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.work--lead .work__title { font-size: clamp(24px, 2.4vw, 30px); }
/* Judul tesis panjang: lebar normal supaya mudah dibaca */
.work[data-cat~="ta"] .work__title { font-stretch: 100%; font-weight: 700; font-size: 18px; line-height: 1.35; letter-spacing: 0; }
.works__group { font-stretch: 125%; font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.works__note { margin: 6px 0 28px; color: var(--muted); font-size: 16px; max-width: 60ch; }
.works + .works__group { margin-top: clamp(64px, 8vw, 104px); padding-top: 28px; border-top: 2px solid var(--ink); }
.work__desc { margin-top: 8px; color: var(--muted); font-size: 16px; }
.work__meta { display: grid; gap: 6px; margin-top: 14px; font-size: 15px; }
.work__meta div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
.work__meta dt { color: var(--muted); }
.works__more { margin-top: 48px; }
.works__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 48px; padding-top: 28px; border-top: 2px solid var(--ink); }
.works__foot p { color: var(--muted); font-size: 16px; }

/* Halaman Project */
.page-head { padding-top: clamp(40px, 6vw, 72px); }
.crumb { font-size: 15px; color: var(--muted); }
.h1-page { margin-top: 14px; font-size: clamp(36px, 5vw, 60px); max-width: 18ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.filter { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid #8c8c8c; border-radius: 6px; background: var(--paper); color: var(--ink); font: 500 16px/1 var(--font); cursor: pointer; }
.filter span { color: var(--muted); font-variant-numeric: tabular-nums; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { border-color: var(--ink); background: var(--tint); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; }
.filter[aria-pressed="true"] span { color: var(--ink); }
.filters__status { margin: 16px 0 32px; font-size: 15px; color: var(--muted); }
.nav__links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 999px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } .work--lead { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
@media (max-width: 600px) { .works { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* Testimoni: kartu berisi orang dan project-nya, bukan kolom teks */
.tcards { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.tcard { position: relative; display: flex; flex-direction: column; gap: 24px; margin: 0; padding: clamp(28px, 3.2vw, 44px); background: var(--grey); }
.tcard__mark { display: block; height: 44px; font-stretch: 125%; font-weight: 800; font-size: 104px; line-height: .8; }
.tcard blockquote { margin: 0; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; font-weight: 500; }
.tcard--ink { background: var(--ink); color: var(--paper); }
.tcard--ink .who span span { color: #bdbdbd; }
.tcard--ink .tags li { border-color: #5a5a5a; }
.tcard--ink .avatar { border-color: var(--tint); }
.tcard--shot { gap: 0; padding: 0; background: var(--paper); border: 2px solid var(--ink); }
.tcard--shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7.5; object-fit: cover; border-bottom: 2px solid var(--ink); }
.tcard--shot blockquote { quotes: "\201C" "\201D"; font-size: clamp(18px, 1.4vw, 20px); }
.tcard--shot blockquote p::before { content: open-quote; }
.tcard--shot blockquote p::after { content: close-quote; }
.tcard__body { display: flex; flex-direction: column; gap: 22px; flex: 1; padding: clamp(24px, 3vw, 32px); }
.tcard__note { margin-top: -8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; font-style: italic; }
.who { display: flex; align-items: center; gap: 14px; margin-top: auto; font-size: 15px; }
.who > span:last-child { display: grid; }
.who b { font-size: 17px; }
.who span span { color: var(--muted); }
@media (max-width: 860px) { .tcards { grid-template-columns: minmax(0, 1fr); max-width: 640px; } }

/* Proses: kartu waktu yang tersambung garis. Kartu terakhir bergaris biru = siap sidang */
.tline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.tl { position: relative; display: flex; flex-direction: column; padding: 22px 20px 24px; background: var(--paper); border: 2px solid var(--ink); }
.tl__t { align-self: flex-start; padding: 6px 12px; border-radius: 6px; background: var(--ink); color: var(--paper); font-stretch: 125%; font-weight: 800; font-size: 15px; white-space: nowrap; }
.tl h3 { margin-top: 18px; font-size: 19px; }
.tl p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.tl:not(:last-child)::after { content: ""; position: absolute; top: 37px; right: -22px; width: 20px; height: 2px; background: var(--ink); }
.tl:last-child { box-shadow: inset 0 6px 0 var(--live); }
@media (max-width: 1099px) {
  .tline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl:not(:last-child)::after { display: none; }
  .tl:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .tline { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .tl:not(:last-child)::after { display: block; top: auto; right: auto; bottom: -20px; left: 36px; width: 2px; height: 18px; }
}

/* Tabel: kolom Hasnesia dibingkai seperti kartu, tiap baris diberi centang */
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 18px 18px 18px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.compare tbody th { font-weight: 600; width: 24%; }
.compare td { color: var(--muted); }
.compare .us { padding-left: 18px; color: var(--ink); font-weight: 600; background: var(--tint); box-shadow: inset 2px 0 0 var(--ink), inset -2px 0 0 var(--ink); }
.compare thead .us { padding-block: 16px; background: var(--ink); color: var(--paper); font-stretch: 125%; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.compare thead .us span { display: block; margin-top: 2px; color: #bdbdbd; font-stretch: 100%; font-weight: 500; font-size: 13px; letter-spacing: 0; }
.compare tbody tr:last-child .us { box-shadow: inset 2px 0 0 var(--ink), inset -2px 0 0 var(--ink), inset 0 -2px 0 var(--ink); }
.ico--ok { display: inline-block; width: 20px; height: 20px; margin-right: 10px; padding: 3px; vertical-align: -4px; border-radius: 50%; background: var(--live); color: var(--ink); stroke-width: 3.2; }
@media (max-width: 720px) {
  .stack thead { display: none; }
  .stack tr { display: grid; padding: 14px 0; border-top: 2px solid var(--ink); }
  .stack th, .stack td { display: flow-root; border: 0; padding: 4px 0; padding-inline-start: 9.5em; width: auto; }
  .stack tbody th { padding-inline-start: 0; padding-bottom: 8px; font-size: 18px; }
  .stack td::before { content: attr(data-l); float: inline-start; width: 9em; margin-inline-start: -9.5em; color: var(--muted); font-weight: 400; }
  .compare .us, .compare tbody tr:last-child .us { margin-top: 4px; padding: 8px 8px 8px 9.5em; box-shadow: inset 4px 0 0 var(--ink); }
  .compare .us::before { color: var(--ink); }
}

/* Harga: alur bernomor sebagai kartu tersambung, keuntungan sebagai chip */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: f; }
.flow li { position: relative; counter-increment: f; padding: 22px 20px 24px; background: var(--paper); border: 2px solid var(--ink); }
.flow li::before { content: counter(f); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--ink); color: var(--paper); font-stretch: 125%; font-weight: 800; font-size: 18px; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 41px; right: -22px; width: 20px; height: 2px; background: var(--ink); }
.flow p { margin-top: 6px; color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow li::after { display: none; } }
@media (max-width: 480px) { .flow { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
.perks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.perks li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 6px; font-size: 15px; font-weight: 600; }

/* Brief */
.brief { display: grid; gap: 40px; margin-top: clamp(64px, 8vw, 104px); padding-top: clamp(40px, 5vw, 64px); border-top: 2px solid var(--ink); }
@media (min-width: 1000px) { .brief { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 72px; align-items: start; } }
.form fieldset { margin: 34px 0 0; padding: 0; border: 0; }
.form legend { padding: 0; margin-bottom: 12px; font-weight: 700; }
.form legend small { margin-left: 6px; font-weight: 400; font-size: 15px; color: var(--muted); }
.req { color: var(--red); }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.opt--wide { grid-column: span 2; }
@media (max-width: 480px) { .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .opt--other { grid-column: 1 / -1; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt, .chip { position: relative; cursor: pointer; }
.opt input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.opt span, .chip span { display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 10px 14px; border: 1.5px solid #8c8c8c; border-radius: 6px; background: var(--paper); font-size: 16px; font-weight: 500; transition: background-color .12s, border-color .12s; }
.chip span { min-height: 44px; padding: 8px 14px; }
.opt:hover span, .chip:hover span { border-color: var(--ink); }
.opt input:checked + span, .chip input:checked + span { border-color: var(--ink); background: var(--tint); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; }
.chip input[type="checkbox"]:checked + span::before { content: "✓"; font-weight: 800; }
.opt input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.form textarea, .field input { width: 100%; padding: 12px 14px; border: 1.5px solid #8c8c8c; border-radius: 6px; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--font); }
.form textarea { min-height: 128px; resize: vertical; }
.form textarea:focus, .field input:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 4px var(--live-soft); }
.form ::placeholder { color: #8a8a8a; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 480px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field span { display: block; margin-bottom: 6px; font-size: 15px; color: var(--muted); }
.field--other { display: block; margin-top: 14px; max-width: 520px; }
.field--other[hidden] { display: none; }
.hint { margin-top: 10px; font-size: 15px; color: var(--muted); }
.err { display: none; margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--red); }
.err.is-shown { display: block; }
.draft { position: sticky; top: 100px; }
.draft__paper { padding: 30px; background: var(--paper); border: 2px solid var(--ink); }
.draft__head { display: flex; justify-content: space-between; align-items: baseline; }
.draft__head h3 { font-stretch: 125%; font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.draft__head span { font-weight: 700; font-variant-numeric: tabular-nums; }
.meter { height: 8px; margin: 14px 0 22px; background: var(--grey); }
.meter i { display: block; width: 0; height: 100%; background: var(--ink); transition: width .3s ease; }
.draft__to { font-style: italic; }
.draft__list { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px 14px; margin-top: 14px; font-size: 16px; }
.draft__list dt { color: var(--muted); }
.draft__list dd { overflow-wrap: anywhere; }
.draft__empty { margin-top: 12px; color: var(--muted); font-size: 16px; }
.draft__price { margin: 22px 0 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.draft__note { margin-top: 10px; text-align: center; font-size: 14px; color: var(--muted); }
.brief-bar { display: none; }
@media (max-width: 999px) {
  .draft { position: static; }
  .brief-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; align-items: center; justify-content: space-between; gap: 12px; padding: 12px max(5vw, 16px) calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--tint); border-top: 2px solid var(--ink); transform: translateY(110%); transition: transform .25s ease; font-size: 16px; }
  body.bar-on .brief-bar { transform: none; }
  body.bar-on .wa-float { opacity: 0; pointer-events: none; }
}

/* Komitmen + jaminan */
.pledge li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid #3d3d3d; color: #bdbdbd; }
.pledge .ico { margin-top: 2px; color: var(--paper); }
.pledge b { display: block; color: var(--paper); }
.promise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(56px, 7vw, 96px); }
.promise div { padding: 26px 24px; border: 1px solid #3d3d3d; background: #0f0f0f; }
.promise .tile { margin-bottom: 20px; }
.promise dt { font-stretch: 125%; font-weight: 800; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; color: var(--paper); }
.promise dd { margin-top: 8px; color: #bdbdbd; font-size: 16px; }
@media (max-width: 1000px) { .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .promise { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* FAQ: setiap pertanyaan kartu sendiri */
.faq { display: grid; gap: 10px; align-content: start; }
.faq details { background: var(--paper); border: 2px solid var(--ink); transition: background-color .15s; }
.faq details[open] { background: var(--grey); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 18px; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq__i { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border: 2px solid var(--ink); border-radius: 50%; transition: transform .2s, background-color .15s; }
.faq__i .ico { width: 16px; height: 16px; stroke-width: 2.5; }
.faq summary:hover .faq__i { background: var(--tint); }
.faq details[open] .faq__i { transform: rotate(45deg); background: var(--ink); color: var(--paper); }
.faq details p { padding: 0 20px 20px; color: var(--muted); max-width: 64ch; }

/* Penutup: teks + jendela chat pertama */
.closing { display: grid; gap: 40px; }
@media (min-width: 1000px) { .closing { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; align-items: center; } }
.closing h2 { font-size: clamp(32px, 4.4vw, 56px); }
.closing > div:first-child > p { margin-top: 20px; font-size: 18px; max-width: 44ch; }
.closing__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 480px) { .closing__cta .btn { flex: 1 1 100%; } }
.closing__vis { max-width: 480px; padding: 20px 22px 22px; background: var(--paper); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.closing__app { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1.5px solid var(--line); font-size: 15px; }
.closing__app small { margin-left: auto; color: var(--muted); font-size: 12px; }
.chat--wide { max-width: none; }
.chat--wide .bub { max-width: 86%; }
.closing__note { margin-top: 14px; font-size: 13px; }

/* Footer */
.foot { padding: 64px 0 28px; background: var(--ink); color: var(--paper); }
.foot__in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.foot__in p { margin-top: 12px; color: #bdbdbd; font-size: 16px; }
.foot nav { display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: #bdbdbd; }
.foot nav a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.foot h3 { font-size: 16px; color: var(--paper); margin-bottom: 4px; }
.foot__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid #3d3d3d; font-size: 14px; color: #bdbdbd; }
@media (max-width: 720px) { .foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot__in > div { grid-column: 1 / -1; } }

/* Tombol WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 44; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; border: 2px solid var(--ink); transition: opacity .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Reel: semua gambar dari project nyata, berjalan pelan, berhenti saat disorot */
.reel { padding-block: clamp(72px, 9vw, 128px); background: var(--ink); color: var(--paper); }
.reel .sub { color: #bdbdbd; }
.reel .work img { border-color: #333; background: #1a1a1a; }
.reel .work__body { border-top-color: var(--paper); }
.reel .work__type, .reel .work__meta dt { color: #bdbdbd; }
.reel__label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-top: clamp(64px, 8vw, 96px); }
.reel__label h3 { font-stretch: 125%; font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.reel .works__foot { border-top-color: #3d3d3d; }
.reel .works__foot p { color: #bdbdbd; }
.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper:hover { background: var(--tint); }
.reel :focus-visible { outline-color: var(--paper); }
.reel__view { margin-top: 28px; overflow: hidden; }
.reel__track { display: flex; width: max-content; }
.reel__row { display: flex; gap: 16px; padding-right: 16px; }
.reel__row img { display: block; height: clamp(150px, 17vw, 240px); width: auto; border: 1px solid #333; background: #1a1a1a; }
@media (prefers-reduced-motion: no-preference) {
  .reel__track { animation: reel 80s linear infinite; }
  .reel__view:hover .reel__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .reel__view { overflow-x: auto; }
  .reel__row[aria-hidden] { display: none; }
}
@keyframes reel { to { transform: translateX(-50%); } }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(48px, 6vw, 72px); }
.stats li { padding-top: 16px; border-top: 2px solid var(--live); }
.stats b { display: block; font-stretch: 125%; font-weight: 800; font-size: clamp(48px, 6vw, 84px); line-height: .95; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stats small { margin-left: 6px; font-size: 22px; letter-spacing: -0.01em; }
.stats span { display: block; margin-top: 10px; color: #bdbdbd; font-size: 16px; max-width: 24ch; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } }

/* Cara kerja: tiap langkah memperlihatkan alurnya. Latar biru muda = ruang kerja Hasnesia */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--ink); padding-bottom: 24px; }
.step > :not(.vis) { padding-inline: 24px; }
.step__n { margin-top: 20px; font-stretch: 125%; font-weight: 800; font-size: 28px; line-height: 1; }
.step h3 { margin-top: 10px; }
.step > p:last-child { margin-top: 6px; color: var(--muted); font-size: 16px; }
.vis { display: grid; place-items: center; height: 290px; padding: 28px 22px; background: var(--tint); border-bottom: 2px solid var(--ink); }
.chat { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 270px; font-size: 14px; line-height: 1.35; }
.bub { padding: 10px 12px; border: 1.5px solid var(--ink); border-radius: 12px; }
.bub--me { align-self: flex-end; max-width: 92%; background: var(--paper); border-bottom-right-radius: 3px; }
.photo { position: relative; height: 74px; margin-bottom: 8px; background: var(--paper); border: 1px solid #b8b8b8; box-shadow: 3px 4px 0 rgba(0, 0, 0, .08); transform: rotate(-1.5deg); }
.photo__line { position: absolute; left: 10px; top: 10px; width: 60%; height: 5px; background: #cfcfcf; }
.photo__line--s { top: 20px; width: 38%; }
.photo__box { position: absolute; left: 10px; top: 34px; width: 52%; height: 26px; border: 1px solid #9a9a9a; }
.photo__ring { position: absolute; left: 4px; top: 28px; width: 60%; height: 38px; border: 2px solid var(--red); border-radius: 50%; transform: rotate(-4deg); }
.bub--vn { display: flex; align-items: center; gap: 10px; width: 70%; }
.vn__play { width: 0; height: 0; border-left: 10px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.vn__wave { flex: 1; height: 16px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px); clip-path: polygon(0 40%, 10% 20%, 20% 50%, 30% 10%, 40% 35%, 50% 0, 60% 30%, 70% 15%, 80% 45%, 90% 25%, 100% 40%, 100% 60%, 90% 75%, 80% 55%, 70% 85%, 60% 70%, 50% 100%, 40% 65%, 30% 90%, 20% 50%, 10% 80%, 0 60%); }
.bub--vn small { font-size: 12px; color: var(--muted); }
.bub--us { align-self: flex-start; display: grid; gap: 4px; background: var(--ink); color: var(--paper); border-bottom-left-radius: 3px; }
.bub--us b { font-size: 15px; }
.tick::before { content: "\2713"; margin-right: 6px; color: var(--live-soft); font-weight: 800; }
.tag { justify-self: start; margin-top: 6px; padding: 3px 8px; background: var(--paper); color: var(--ink); border-left: 4px solid var(--live); border-radius: 3px; font-size: 12px; font-weight: 700; }
.chat__meta { font-size: 12px; color: var(--muted); }
.win { position: relative; width: 100%; max-width: 270px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 8px; }
.win__bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1.5px solid var(--ink); font-size: 11px; color: var(--muted); }
.win__bar i { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--ink); }
.win__bar span { margin-left: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.win__body { padding: 14px 16px 22px; }
.win__h { font-stretch: 125%; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.win__l { margin-top: 10px; font-size: 11px; font-weight: 600; }
.win__f { margin-top: 4px; height: 30px; padding: 0 10px; border: 1.5px solid var(--ink); border-radius: 5px; font-size: 13px; line-height: 27px; }
.win__f--new { background: var(--live); }
.win__toast { position: absolute; right: -10px; bottom: -16px; padding: 7px 10px; background: var(--ink); color: var(--paper); border-left: 5px solid var(--live); border-radius: 5px; font-size: 11px; line-height: 1.3; }
.win__toast b { display: block; font-size: 12px; }
#cara-kerja .sla { margin-top: 24px; }
@media (min-width: 1000px) {
  #cara-kerja .sla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; }
  #cara-kerja .sla__title, #cara-kerja .sla__sub, #cara-kerja .sla__more { grid-column: 1 / -1; }
}
@media (max-width: 999px) { .steps { grid-template-columns: minmax(0, 1fr); max-width: 560px; } .vis { height: auto; min-height: 220px; padding-block: 32px; } }

/* Muncul halus saat digulir (hanya bila JS aktif dan gerak tidak dikurangi) */
.rv-on .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv-on .rv.is-in { opacity: 1; transform: none; }

/* Teaser 3 tesis di layar sedang: kartu pertama melebar (gambar kiri, teks kanan) supaya tidak ada kartu yatim */
@media (min-width: 601px) and (max-width: 999px) {
  .reel .works .work:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .reel .works .work:first-child .work__body { margin-top: 0; }
}
