/* =====================================================================
   MASECI Home v07 "Isi & Label" — preview HTML statis, tahap 1
   Sumber angka: docs/handover/home-v07-html-preview/figma-tree-v07.json
   Bukan tema WordPress, bukan versi produksi.
   ===================================================================== */

/* ---------- Token ---------- */
:root {
  /* Warna resmi */
  --white: #FFFFFF;
  --ink: #283032;
  --deep: #1E6E8B;
  --aqua: #41BFEC;
  --sky: #6BA7C0;
  /* Turunan biru (panduan brand mengizinkan biru senada) */
  --mist: #DCEEF5;
  --mist-2: #EDF6FA;
  --accent-light: #8FD5E1;       /* dari Pattern 2 brand */
  /* USULAN — belum disetujui Ardy (SPEC.md) */
  --paper: #F4EFE8;
  --ocean: #0E3443;
  --ocean-2: #154B5F;
  --aqua-deep: #2FA6D1;
  --accent-pale: #BDEBFA;
  --chat-paper: #F1EADF;
  /* Perkiraan dari foto, latar cadangan di balik foto arch */
  --arch-beige: #EAD8C4;
  --arch-blue: #C9DAE4;
  --arch-pink: #EFD0CB;
  --arch-sage: #CBD3BE;
  --arch-steel: #C6D5DF;
  --stage-beige: #E6D3BF;
  /* Pihak ketiga */
  --whatsapp: #25D366;

  --ink-82: rgb(40 48 50 / .82);
  --ink-78: rgb(40 48 50 / .78);
  --shadow-rgb: 20 51 66;

  --font: "Montserrat", "Segoe UI", Arial, sans-serif;

  /* Unit skala: 1px pada lebar konten 1440 ke atas, mengecil proporsional di bawahnya.
     cqw diselesaikan terhadap .page (container), jadi lebar scrollbar tidak ikut dihitung. */
  --u: min(1px, calc(100cqw / 1440));

  --focus: var(--deep);
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; }
img { max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong { font-weight: 700; }

.page { container-type: inline-size; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.brand__sheet, .closing, .footer__sheet, .adv--deep { --focus: var(--accent-pale); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: 14px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Tipografi bersama ---------- */
.display {
  font-weight: 500;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.accent { font-style: italic; color: var(--deep); }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; line-height: normal;
  letter-spacing: 0.12em;
  color: var(--deep);
}
.eyebrow::before {
  content: ""; flex: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--aqua);
}
.intro {
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--ink-82);
}

/* ---------- Ikon panah ↗ (satu geometri, ukuran lewat width) ---------- */
.i-arrow {
  width: 10px; height: 10px;
  fill: none; stroke: currentColor; stroke-width: 1.44;
  stroke-linecap: round; stroke-linejoin: round;
  overflow: visible;
}

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center;
  border-radius: 999px;
  font-weight: 600; line-height: normal; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.btn__icon {
  flex: none; display: grid; place-items: center;
  border-radius: 50%;
  transition: transform .25s ease;
}
.btn:hover .btn__icon { transform: rotate(45deg); }

.btn--nav {
  height: 52px; padding: 0 8px 0 24px; gap: 10px;
  background: var(--deep); color: #fff; font-size: 14px;
}
.btn--nav .btn__icon { width: 36px; height: 36px; background: #fff; color: var(--deep); }
.btn--nav .i-arrow { width: 8.75px; height: 8.75px; }

.btn--primary {
  height: 64px; padding: 0 10px 0 30px; gap: 16px;
  background: var(--deep); color: #fff; font-size: 16px;
  box-shadow: 0 14px 30px rgb(var(--shadow-rgb) / .22);
}
.btn--primary .btn__icon, .btn--help .btn__icon { width: 44px; height: 44px; background: var(--aqua); color: #fff; }

.btn--help {
  height: 60px; padding: 0 8px 0 28px; gap: 14px;
  background: var(--deep); color: #fff; font-size: 15.5px;
  flex: none;
}
.btn--nav:hover, .btn--primary:hover, .btn--help:hover { background: #185a72; }

.btn--light {
  height: 72px; padding: 0 10px 0 34px; gap: 18px;
  background: #fff; color: var(--ink); font-size: 17px;
  box-shadow: 0 18px 40px rgb(var(--shadow-rgb) / .3);
}
.btn--light .btn__icon { width: 52px; height: 52px; background: var(--deep); color: #fff; }
.btn--light .i-arrow { width: 11.25px; height: 11.25px; }

.btn--footer {
  height: 58px; padding: 0 8px 0 26px; gap: 14px;
  background: #fff; color: var(--ink); font-size: 15px;
}
.btn--footer .btn__icon { width: 42px; height: 42px; background: var(--aqua); color: #fff; }
.btn--footer .i-arrow { width: 9.375px; height: 9.375px; }
.btn--light:hover, .btn--footer:hover { background: var(--mist-2); }

/* CTA WhatsApp tanpa nomor resmi: tetap terlihat seperti desain, ditandai aria-disabled oleh JS. */
[data-wa][aria-disabled="true"] { cursor: help; }

/* ---------- Gelembung sabun ---------- */
.bubble {
  --bu: 1px;
  position: absolute;
  left: calc(var(--x) * var(--bu));
  top: calc(var(--y) * var(--bu));
  width: calc(var(--s) * var(--bu));
  height: calc(var(--s) * var(--bu));
  border-radius: 50%;
  opacity: var(--o, 1);
  pointer-events: none;
  background: radial-gradient(circle closest-side,
    rgb(255 255 255 / 0) 0%,
    var(--b-mid, rgb(255 255 255 / .04)) 60%,
    var(--b-edge, rgb(107 199 237 / .3)) 100%);
}
.bubble::before {               /* stroke 1,5 gradien putih .95 → .25 */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  padding: 1.5px;
  background: var(--b-stroke, linear-gradient(135deg, rgb(255 255 255 / .95), rgb(255 255 255 / .25)));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.bubble--hl::after {            /* highlight elips, rasio dari Figma */
  content: ""; position: absolute;
  left: 32.5%; top: 16.2%;
  width: 22%; height: 12%;
  border-radius: 50%;
  background: rgb(255 255 255 / .85);
  transform: translate(-50%, -50%) rotate(28deg);
}
.bubble--white { --b-mid: rgb(255 255 255 / .06); --b-edge: rgb(255 255 255 / .3); --b-stroke: rgb(255 255 255 / .75); }
.bubble--white.bubble--hl::after { background: rgb(255 255 255 / .8); }
.bubble--faq { --b-mid: rgb(107 199 237 / .06); --b-edge: rgb(107 199 237 / .38); --b-stroke: rgb(107 167 192 / .55); }
.bubble--stage { --b-mid: rgb(255 255 255 / .05); --b-edge: rgb(107 199 237 / .32); --b-stroke: rgb(255 255 255 / .95); }

/* Cincin dan glow dekoratif di dalam sheet: x relatif ke tengah sheet 1408. */
.ring, .glow, .closing .bubble {
  position: absolute;
  left: calc(50% + (var(--x) - 704) * var(--u));
  top: calc(var(--y) * 1px);
  width: calc(var(--s) * 1px);
  height: calc(var(--s) * 1px);
  border-radius: 50%;
  pointer-events: none;
}
.ring { border: 1.5px solid rgb(255 255 255 / var(--a)); }
.glow { background: var(--c); filter: blur(calc(var(--blur) * 1px)); }
.closing .bubble--b { top: auto; bottom: calc(var(--b) * 1px); }

/* ---------- Sheet ---------- */
.sheet-wrap {
  width: min(100%, var(--panel-frame-width, 100%));
  margin-inline: auto;
  padding-inline: var(--panel-gutter, 16px);
}
.sheet { position: relative; border-radius: 48px; overflow: hidden; }
.sheet--white { background: var(--white); }
.sheet__inner { position: relative; max-width: 1296px; margin-inline: auto; }

.split-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
}

/* =====================================================================
   Header global
   ===================================================================== */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
}
.site-header__inner {
  position: relative;
  max-width: 1440px; height: 104px; margin-inline: auto;
  padding: 24px 48px 0;
}
.site-logo { position: absolute; left: 48px; top: 24px; border-radius: 8px; }
.site-logo img { width: 150px; height: 56.5px; }

.nav-list {
  display: grid;
  grid-template-columns: 1fr repeat(4, auto) 1fr;
  align-items: center;
  column-gap: 4px;
  height: 53px;
}
.nav-list::before {           /* pill putih di belakang item 1–4 */
  content: "";
  grid-column: 2 / 6; grid-row: 1;
  height: 53px; margin-inline: -6px;
  background: #fff; border-radius: 32px;
  box-shadow: 0 8px 24px rgb(var(--shadow-rgb) / .06);
  z-index: -1;
}
.nav-list > li { grid-row: 1; }
.nav-list > li:nth-child(1) { grid-column: 2; }
.nav-list > li:nth-child(2) { grid-column: 3; }
.nav-list > li:nth-child(3) { grid-column: 4; }
.nav-list > li:nth-child(4) { grid-column: 5; }
.nav-list__cta { grid-column: 6; justify-self: end; margin-top: 4px; }

.nav-link {
  display: flex; align-items: center; gap: 8px;
  height: 41px; padding: 0 20px; border-radius: 26px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em; line-height: normal;
  color: var(--ink-78); text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.nav-link[href]:hover { background: var(--mist-2); color: var(--ink); }
.nav-link.is-active { background: var(--mist-2); color: var(--ink); font-weight: 600; }
.nav-link.is-active::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua);
}
.nav-link[aria-disabled="true"] { cursor: default; }

/* =====================================================================
   S01 hero — komposisi 1440 diskalakan dengan --u
   ===================================================================== */
.hero { position: relative; height: calc(990 * var(--u)); overflow: hidden; }
.hero__stage {
  position: relative;
  width: calc(1440 * var(--u)); height: 100%;
  margin-inline: auto;
}
.hero__glow, .hero__warm { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__glow {
  left: calc(820 * var(--u)); top: calc(380 * var(--u));
  width: calc(600 * var(--u)); height: calc(600 * var(--u));
  background: rgb(65 191 236 / .2);
  filter: blur(calc(150 * var(--u)));
}
.hero__warm {
  left: calc(-160 * var(--u)); top: calc(-220 * var(--u));
  width: calc(520 * var(--u)); height: calc(520 * var(--u));
  background: rgb(255 255 255 / .7);
  filter: blur(calc(140 * var(--u)));
}

.hero__copy {
  position: absolute; z-index: 3;
  left: calc(52 * var(--u)); top: calc(150 * var(--u));
  width: calc(1240 * var(--u));
}
.hero__title {
  margin: calc(16 * var(--u)) 0 0 calc(-8 * var(--u));
  font-size: calc(118 * var(--u));
  font-weight: 500;
  line-height: .96;
  letter-spacing: -0.045em;
}
.hero__sub {
  margin-top: calc(54 * var(--u));
  width: calc(540 * var(--u));
  font-size: 20px; line-height: 1.55; letter-spacing: -0.015em;
  color: var(--ink-82);
}
.hero__ctas {
  margin-top: calc(36 * var(--u));
  display: flex; align-items: center; gap: 28px;
}
.link-down {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: normal;
  color: var(--ink);
}
.link-down svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.44; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.link-down:hover svg { transform: translateY(2px); }

.hero__media { position: absolute; inset: 0; }
.hero__media .bubble { --bu: var(--u); z-index: 5; }

.hero__arch {
  position: absolute; z-index: 1;
  left: calc(922 * var(--u)); top: calc(400 * var(--u));
  width: calc(470 * var(--u)); height: calc(560 * var(--u));
  border-radius: calc(235 * var(--u)) calc(235 * var(--u)) calc(36 * var(--u)) calc(36 * var(--u));
  overflow: hidden;
  background: var(--arch-beige);
}
.hero__wall {
  position: absolute; max-width: none;
  left: calc(-20 * var(--u)); top: calc(-70 * var(--u));
  width: calc(1293.5 * var(--u)); height: auto;
}
/* Adegan 2–5: stand-in foto kategori, disembunyikan sampai slideshow berjalan. */
.hero__scene {
  position: absolute; inset: 0; max-width: none;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
  opacity: 0; visibility: hidden;
}
.hero__cutout {          /* hanya memotong kiri, kanan, bawah */
  position: absolute; z-index: 2;
  left: calc(922 * var(--u)); top: calc(210 * var(--u));
  width: calc(470 * var(--u)); height: calc(750 * var(--u));
  border-radius: 0 0 calc(36 * var(--u)) calc(36 * var(--u));
  overflow: hidden;
}
.hero__cutout img {
  position: absolute; max-width: none;
  left: calc(-47 * var(--u)); top: calc(26 * var(--u));
  width: calc(614.4 * var(--u)); height: auto;
  filter: drop-shadow(calc(-10 * var(--u)) calc(26 * var(--u)) calc(46 * var(--u)) rgb(61 41 20 / .22));
}

.moq-card {
  position: absolute; z-index: 4;
  left: calc(710.3 * var(--u)); top: calc(529.3 * var(--u));
  width: calc(306 * var(--u)); height: calc(76 * var(--u));
  display: flex; align-items: center; gap: calc(14 * var(--u));
  padding: calc(10 * var(--u)) calc(24 * var(--u)) calc(10 * var(--u)) calc(10 * var(--u));
  border-radius: calc(40 * var(--u));
  background: #fff;
  box-shadow: 0 calc(18 * var(--u)) calc(44 * var(--u)) rgb(var(--shadow-rgb) / .16);
  transform: rotate(4deg);
  font-size: calc(16 * var(--u)); font-weight: 500; letter-spacing: -0.01em; line-height: normal;
  white-space: nowrap;
}
.moq-card strong { color: var(--deep); font-weight: 700; }
.moq-card__thumb {
  position: relative; flex: none;
  width: calc(56 * var(--u)); height: calc(56 * var(--u));
  border-radius: 50%; overflow: hidden; background: var(--arch-beige);
}
.moq-card__thumb img {
  position: absolute; max-width: none;
  left: calc(-5 * var(--u)); top: calc(-6 * var(--u));
  width: calc(66 * var(--u)); height: auto;
}

.hero__controls {
  position: absolute; z-index: 5;
  left: calc(52 * var(--u)); top: calc(827 * var(--u));
  display: flex; align-items: flex-end; gap: calc(14 * var(--u));
}
.hero__pause {
  display: block; position: relative; flex: none;
  width: calc(56 * var(--u)); height: calc(56 * var(--u));
  padding: 0; border: 0;
  border-radius: 50%; background: #fff;
  box-shadow: 0 calc(6 * var(--u)) calc(16 * var(--u)) rgb(var(--shadow-rgb) / .08);
  transition: box-shadow .2s ease;
}
.hero__pause:not(:disabled) { cursor: pointer; }
.hero__pause:not(:disabled):hover { box-shadow: 0 0 0 2px rgb(30 110 139 / .25), 0 calc(6 * var(--u)) calc(16 * var(--u)) rgb(var(--shadow-rgb) / .08); }
.hero__pause:disabled { cursor: default; }
.hero__pause svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--ink); }
.hero__play-icon { visibility: hidden; }
.hero__pause[aria-pressed="true"] .hero__pause-icon { visibility: hidden; }
.hero__pause[aria-pressed="true"] .hero__play-icon { visibility: visible; }
.hero__scenes { display: flex; align-items: flex-end; gap: calc(14 * var(--u)); }
.scene { display: flex; flex-direction: column; gap: calc(8 * var(--u)); }
.scene__thumb {
  position: relative; display: block; overflow: hidden;
  width: calc(64 * var(--u)); height: calc(82 * var(--u));
  border-radius: calc(32 * var(--u)) calc(32 * var(--u)) calc(14 * var(--u)) calc(14 * var(--u));
  background: var(--bg);
  opacity: .78;
}
.scene__img {
  position: absolute; max-width: none;
  left: calc(-8 * var(--u)); top: calc(-11.5 * var(--u));
  width: calc(80 * var(--u)); height: auto;
}
.scene__bar {
  display: block; position: relative; overflow: hidden;
  width: calc(64 * var(--u)); height: 3px; border-radius: 2px;
  background: rgb(40 48 50 / .14);
}
.scene--active .scene__thumb {
  width: calc(84 * var(--u)); height: calc(108 * var(--u));
  border-radius: calc(42 * var(--u)) calc(42 * var(--u)) calc(14 * var(--u)) calc(14 * var(--u));
  box-shadow: 0 0 0 3px #fff;
  opacity: 1;
}
.scene--active .scene__img--cutout {
  left: calc(-5 * var(--u)); top: calc(-3 * var(--u));
  width: calc(96.3 * var(--u));
}
.scene--active .scene__bar { width: calc(84 * var(--u)); }
.scene__bar > span { position: absolute; inset: 0 auto 0 0; width: 45%; border-radius: 2px; background: var(--deep); }

/* =====================================================================
   S02 why-maseci
   ===================================================================== */
.why.sheet-wrap {
  padding-inline: var(--panel-gutter, clamp(16px, calc(100cqw * 64 / 1440), 64px));
  padding-block: clamp(32px, calc(100cqw * 80 / 1440), 80px) clamp(32px, calc(100cqw * 64 / 1440), 64px);
}
.why__sheet { padding: 104px 56px 72px; overflow: visible; }
.why__title { font-size: max(40px, calc(104 * var(--u))); line-height: .96; }
.why__intro { width: 560px; max-width: 46%; font-size: 21px; }
.why__grid {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.adv {
  position: relative; overflow: hidden;
  min-height: 300px; padding: 28px;
  border-radius: 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  background: var(--paper);
}
.adv--deep { background: var(--deep); color: #fff; }
.adv--mist { background: var(--mist); }
.adv__top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; }
.adv__icon { width: 60px; height: 60px; fill: none; stroke: var(--deep); stroke-width: 1.733; stroke-linecap: round; stroke-linejoin: round; }
.adv__icon rect { stroke: none; }
.adv__index { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; line-height: normal; color: rgb(40 48 50 / .55); }
.adv--deep .adv__index { color: rgb(255 255 255 / .55); }
.adv__copy { position: relative; }
.adv__title { font-size: 27px; font-weight: 500; line-height: 1.12; letter-spacing: -0.03em; }
.adv__desc { margin-top: 12px; font-size: 15.5px; line-height: 1.55; letter-spacing: -0.01em; color: var(--ink-78); }
.adv--deep .adv__desc { color: rgb(255 255 255 / .9); }
.adv__ring, .adv__dot { position: absolute; border-radius: 50%; pointer-events: none; }
.adv__ring--lg { width: 260px; height: 260px; top: -100px; right: -90px; border: 1.5px solid rgb(255 255 255 / .22); }
.adv__ring--sm { width: 120px; height: 120px; top: 96px; right: 0; border: 1.5px solid rgb(255 255 255 / .18); }
.adv__dot { width: 44px; height: 44px; top: 34px; right: 192px; background: rgb(65 191 236 / .35); }

/* =====================================================================
   S03 kategori-produk
   ===================================================================== */
.kat { padding: 128px 48px 112px; }
.kat__inner { max-width: 1344px; margin-inline: auto; }
.kat__title { width: calc(860 * var(--u)); max-width: 64%; font-size: max(36px, calc(76 * var(--u))); line-height: 1; }
.kat__intro { width: 400px; max-width: 32%; font-size: 19px; }

.kat__shelf {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  align-items: start;
}
.kat-card { position: relative; }
.kat-card:nth-child(even) { padding-top: 64px; }
.kat-card__visual {
  position: relative; overflow: hidden;
  aspect-ratio: 252.8 / 356;
  border-radius: 50% 50% 28px 28px / 35.51% 35.51% 28px 28px;
  background: var(--bg);
  transition: outline-color .2s;
}
.kat-card__visual img {
  position: absolute; max-width: none;
  width: var(--iw); left: var(--il); top: var(--it); height: auto;
  transition: transform .5s ease;
}
.kat-card__index {
  position: absolute; left: 14px; bottom: 19px;
  padding: 6px 12px; border-radius: 20px;
  background: rgb(255 255 255 / .7);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; line-height: normal;
}
.kat-card__arrow {
  position: absolute; right: 14px; bottom: 14px;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--ink);
  transition: background-color .2s ease, color .2s ease;
}
.kat-card__copy { margin-top: 22px; padding-inline: 6px; }
.kat-card__title { font-size: 24px; font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; }
.kat-card__desc { margin-top: 10px; font-size: 15px; line-height: 1.55; letter-spacing: -0.01em; color: var(--ink-78); }
.kat-card__link {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; line-height: normal;
  color: var(--deep);
}
.kat-card__link svg { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.26; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.kat-card__link::after { content: ""; position: absolute; inset: 0; }   /* seluruh kartu bisa diklik, tanpa tautan bersarang */
.kat-card:hover .kat-card__visual img { transform: scale(1.04); }
.kat-card:hover .kat-card__arrow, .kat-card:focus-within .kat-card__arrow { background: var(--deep); color: #fff; }
.kat-card:hover .kat-card__link svg { transform: translateX(3px); }
.kat-card:has(.kat-card__link:focus-visible) .kat-card__visual { outline: 3px solid var(--focus); outline-offset: 4px; }

.help {
  margin-top: 64px;
  display: flex; align-items: center; gap: 24px;
  padding: 18px 18px 18px 22px;
  border-radius: 60px; background: #fff;
  box-shadow: 0 10px 30px rgb(var(--shadow-rgb) / .05);
}
.help__thumbs { display: flex; flex: none; }
.help__thumbs > span {
  position: relative; overflow: hidden;
  width: 60px; height: 60px; border-radius: 50%;
  box-shadow: 0 0 0 3px #fff;
}
.help__thumbs > span + span { margin-left: -18px; }
.help__thumbs img { position: absolute; max-width: none; left: -15px; top: -30px; width: 90px; height: auto; }
.help__text { flex: 1; font-size: 18px; font-weight: 500; line-height: 1.45; letter-spacing: -0.015em; }

/* =====================================================================
   S04 brand-collaboration
   ===================================================================== */
.brand__sheet {
  padding: 112px 56px;
  background: linear-gradient(135deg, var(--ocean) 0%, var(--deep) 100%);
  color: #fff;
}
.brand__title { width: calc(700 * var(--u)); max-width: 60%; font-size: max(40px, calc(92 * var(--u))); line-height: .98; color: #fff; }
.brand__title .accent, .stories__title .accent { color: var(--accent-light); }
.brand__intro { width: 420px; max-width: 36%; font-size: 19px; color: rgb(255 255 255 / .86); }

.brand__grid {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.brand-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 20px 20px 22px; border-radius: 32px;
  background: #fff; color: var(--ink);
}
.brand-card__img {
  aspect-ratio: 272 / 330; border-radius: 20px; overflow: hidden;
  background: #fff;
}
.brand-card__img img { width: 100%; height: 100%; object-fit: contain; }
.brand-card__label { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 6px; }
.brand-card__name { font-size: 21px; font-weight: 500; letter-spacing: -0.025em; line-height: normal; }
.brand-card__index { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: rgb(40 48 50 / .45); line-height: normal; }

.brand__divider { margin: 72px 0 0; height: 1px; border: 0; background: rgb(255 255 255 / .18); }

.stories {
  margin-top: 72px;
  display: grid; grid-template-columns: minmax(0, 330fr) minmax(0, 930fr); gap: 36px;
  align-items: start;
}
.stories__title { font-size: max(32px, calc(56 * var(--u))); line-height: 1; letter-spacing: -0.04em; color: #fff; }
.stories__intro { margin-top: 20px; width: 300px; max-width: 100%; font-size: 17px; line-height: 1.55; letter-spacing: -0.01em; color: rgb(255 255 255 / .84); }
.stories__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.stories__list > li:nth-child(odd) { padding-top: 8px; }
.stories__list > li:nth-child(2) { padding-top: 36px; }
.story {
  display: flex; flex-direction: column; gap: 12px;
  padding: 18px 18px 20px; border-radius: 30px;
  background: var(--chat-paper); color: var(--ink);
  box-shadow: 0 20px 40px rgb(var(--shadow-rgb) / .3);
  transform: rotate(var(--r));
  --focus: var(--deep);
}
.story__id { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; }
.story__avatar { width: 37px; height: 37px; border-radius: 50%; background: rgb(107 167 192 / .45); flex: none; }
.story__name { width: 96px; height: 13px; border-radius: 5px; background: rgb(40 48 50 / .16); }
.story__quote { display: flex; flex-direction: column; gap: 12px; }
.story__bubble {
  width: 250px; max-width: 100%;   /* Figma: gelembung 250, teks 218 */
  padding: 12px 16px; border-radius: 18px; background: #fff;
  font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -0.015em;
}
.story__bubble--first { border-top-left-radius: 6px; }
.story__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 10px 2px 0; }
.story__attr { font-size: 12.5px; font-weight: 500; letter-spacing: -0.01em; color: rgb(40 48 50 / .6); line-height: normal; }
.story__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0; border: 0; background: none; cursor: pointer;
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em; line-height: normal;
  color: var(--deep); text-decoration: underline;
}
.story__link .i-arrow { width: 9px; height: 9px; }
.story__link:hover { text-decoration-thickness: 2px; }

/* =====================================================================
   S05 start-simple
   ===================================================================== */
.start { padding: 128px 48px; }
.start__inner { max-width: 1344px; margin-inline: auto; }
.start__head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.start__title { width: calc(1000 * var(--u)); max-width: 100%; font-size: max(36px, calc(76 * var(--u))); line-height: 1.02; }
.start__intro { width: 560px; max-width: 100%; font-size: 19px; }

.start__row {
  margin-top: 80px;
  display: grid; grid-template-columns: 588fr 692fr; gap: 64px;
  align-items: start;
}
.stage-col { position: relative; padding-bottom: 24px; }
.stage-wrap { position: relative; width: calc(552 / 588 * 100%); }
.stage {
  position: relative; overflow: hidden;
  aspect-ratio: 552 / 700;
  border-radius: 40px 260px 40px 40px;
  background: var(--stage-beige);
}
.stage img { position: absolute; max-width: none; left: 0; top: -6.2857%; width: 100%; height: auto; }
/* Foto langkah 02–05 bertumpuk di atas 01 dan tersembunyi sampai motion.js memudarkannya. */
.stage__img ~ .stage__img { opacity: 0; visibility: hidden; }
.stage { isolation: isolate; }   /* z-index foto tidak menembus chip dan gelembung panggung */
.rail {
  position: absolute; left: calc(574 / 588 * 100%); top: 70px;
  width: 8px; height: 560px; border-radius: 4px;
  background: rgb(40 48 50 / .1);
}
.rail__fill { position: absolute; left: 0; top: 0; width: 8px; height: calc(112px + var(--rail, 0) * 448px); border-radius: 4px; background: linear-gradient(180deg, var(--aqua), var(--deep)); }
.rail__knob { position: absolute; left: -7px; top: calc(101px + var(--rail, 0) * 448px); width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--deep); }
.stage-chip {
  position: absolute; left: 30.3px; bottom: -26.9px;
  min-width: 113px; height: 64px;
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 10px 20px 10px 10px; border-radius: 40px;
  background: #fff;
  box-shadow: 0 16px 36px rgb(var(--shadow-rgb) / .16);
  transform: rotate(-3deg);
}
.stage-chip__num {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--deep); color: #fff;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
}
.stage-chip__total { font-size: 14px; font-weight: 500; letter-spacing: 0.02em; color: rgb(40 48 50 / .5); }

.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 28px; padding: 26px 32px 26px 28px; }
.step + .step { border-top: 1px solid rgb(40 48 50 / .12); }
.step--active, .step--active + .step { border-top-color: transparent; }
.step--active {
  padding: 28px 32px 30px 28px; border-radius: 32px;
  background: #fff; box-shadow: 0 14px 36px rgb(var(--shadow-rgb) / .08);
}
.step__num { flex: none; width: 72px; font-size: 44px; font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: rgb(40 48 50 / .38); }
.step--active .step__num { color: var(--deep); }
.step__title { font-size: 26px; font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; }
.step__desc { margin-top: 8px; font-size: 15.5px; line-height: 1.55; letter-spacing: -0.01em; color: var(--ink-78); }

/* =====================================================================
   S06 faq-konsultasi
   ===================================================================== */
.faq__sheet { padding: 112px 56px 104px; }
.faq__grid { display: grid; grid-template-columns: 460fr 764fr; gap: 72px; align-items: start; }
.faq__title { font-size: max(34px, calc(64 * var(--u))); line-height: 1.02; }
.faq__bubbles { position: relative; margin-top: 40px; width: 300px; height: 200px; }

.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  padding: 26px 26px 26px 32px; border-radius: 28px;
  background: rgb(244 239 232 / .6);
  transition: background-color .3s ease;
}
.faq__item.is-open { background: var(--mist-2); }
.faq__trigger {
  width: 100%; min-height: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-size: 21px; font-weight: 500; line-height: 1.3; letter-spacing: -0.025em;
  border-radius: 12px;
}
.faq__trigger:focus-visible { outline-offset: 8px; }
.faq__icon {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--ink);
  transition: background-color .25s ease, color .25s ease;
}
.faq__icon svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.faq__icon-v { transform-origin: 24px 24px; transition: transform .25s ease; }
.faq__item.is-open .faq__icon { background: var(--deep); color: #fff; }
.faq__item.is-open .faq__icon-v { transform: scaleY(0); }
.faq__trigger:hover .faq__icon { box-shadow: 0 0 0 2px rgb(30 110 139 / .25); }

.faq__panel { display: grid; grid-template-rows: 1fr; }
.faq__panel-inner { overflow: hidden; min-height: 0; }
.faq__panel p { padding-top: 16px; max-width: 600px; font-size: 16.5px; line-height: 1.6; letter-spacing: -0.01em; color: var(--ink-82); }
.js .faq__panel { transition: grid-template-rows .3s ease, visibility 0s linear 0s; }
.js .faq__item:not(.is-open) .faq__panel {
  grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows .3s ease, visibility 0s linear .3s;
}

/* Closing */
.closing {
  margin-top: 16px;
  padding: 128px 56px 96px;
  background: linear-gradient(135deg, var(--ocean-2) 0%, var(--deep) 45%, var(--aqua-deep) 100%);
  color: #fff;
}
.closing__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.closing__title { width: calc(900 * var(--u)); max-width: 100%; font-size: max(40px, calc(104 * var(--u))); line-height: .98; color: #fff; }
.closing__title .accent { color: var(--accent-pale); }
.closing__text { width: 560px; max-width: 100%; font-size: 20px; line-height: 1.55; letter-spacing: -0.015em; color: rgb(255 255 255 / .9); }
.closing__micro { width: 560px; max-width: 100%; font-size: 14.5px; line-height: 1.5; letter-spacing: -0.01em; color: rgb(255 255 255 / .78); }
.closing__arch {
  position: absolute; z-index: 1; overflow: hidden;
  width: 220px; height: 300px;
  border-radius: 110px 110px 28px 28px;
  box-shadow: 0 0 0 4px rgb(255 255 255 / .5);
  pointer-events: none;
}
.closing__arch img { position: absolute; max-width: none; height: auto; }
.closing__arch--left {
  left: calc(50% + (83.8 - 704) * var(--u)); bottom: 101.85px;
  background: var(--arch-sage); transform: rotate(8deg);
}
.closing__arch--left img { width: 252.1px; left: -16.05px; top: -6px; }
.closing__arch--right {
  left: calc(50% + (1096.85 - 704) * var(--u)); bottom: 124.7px;
  background: var(--arch-beige); transform: rotate(-7deg);
}
.closing__arch--right img { width: 253px; left: -17.85px; top: -34.25px; }

/* =====================================================================
   Footer global
   ===================================================================== */
.site-footer { padding-block: 16px; }
.footer__sheet { padding: 72px 56px 36px; background: var(--ocean); color: #fff; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
.footer__brand { width: 420px; }
.footer__brand img { width: 150px; height: 56.5px; }
.footer__company { margin-top: 22px; font-size: 22px; font-weight: 500; letter-spacing: -0.025em; line-height: normal; }
.footer__tagline { margin-top: 22px; width: 340px; max-width: 100%; font-size: 15.5px; line-height: 1.55; letter-spacing: -0.01em; color: rgb(255 255 255 / .72); }
.footer__nav { display: flex; flex-direction: column; gap: 14px; }
.footer__nav ul { display: flex; flex-direction: column; gap: 14px; line-height: normal; }
.footer__label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-light); line-height: normal; }
.footer__nav a { font-size: 17px; font-weight: 500; letter-spacing: -0.015em; line-height: normal; color: rgb(255 255 255 / .92); text-decoration: none; border-radius: 4px; }
.footer__nav a[href]:hover, .footer__nav a[data-wa]:hover { text-decoration: underline; }
.footer__contact { width: 360px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.footer__address { width: 320px; max-width: 100%; font-size: 17px; line-height: 1.5; letter-spacing: -0.015em; color: rgb(255 255 255 / .92); }
.footer__giant { margin-top: 56px; height: 324px; display: flex; justify-content: center; overflow: hidden; }
.footer__giant img { width: 860px; max-width: 100%; height: auto; opacity: .09; }
.footer__bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / .16);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13.5px; letter-spacing: -0.01em; line-height: normal;
}
.footer__bottom p { color: rgb(255 255 255 / .6); }
.footer__top-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: rgb(255 255 255 / .85); text-decoration: none; border-radius: 4px; }
.footer__top-link:hover { text-decoration: underline; }
.footer__top-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.26; stroke-linecap: round; stroke-linejoin: round; }

/* =====================================================================
   Tombol WhatsApp fixed
   ===================================================================== */
.wa-fixed {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  display: flex; align-items: center;
  height: 56px; padding: 0 8px; border-radius: 28px;
  background: #fff; color: var(--ink);
  box-shadow: 0 12px 32px rgb(var(--shadow-rgb) / .2);
  font-family: var(--font); font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none;
}
.wa-fixed__icon { flex: none; width: 40px; height: 40px; }
.wa-fixed__label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  transition: max-width .25s ease, padding .25s ease;
}
.wa-fixed:hover .wa-fixed__label,
.wa-fixed:focus-visible .wa-fixed__label { max-width: 220px; padding: 0 12px 0 10px; }

/* =====================================================================
   Modal "Lihat Percakapan"
   ===================================================================== */
.chat-modal {
  width: min(92vw, 460px); max-height: 90vh;
  padding: 0; border: 0; border-radius: 32px;
  background: var(--chat-paper); color: var(--ink);
  box-shadow: 0 30px 80px rgb(var(--shadow-rgb) / .35);
  font-family: var(--font);
}
.chat-modal::backdrop { background: rgb(14 52 67 / .6); }
.chat-modal__box { position: relative; padding: 32px 28px 28px; }
.chat-modal__close {
  position: absolute; right: 16px; top: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 0; background: #fff; cursor: pointer;
}
.chat-modal__close svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.chat-modal__close:hover { background: var(--mist-2); }
.chat-modal__title { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; padding-right: 56px; }
.chat-modal__attr { margin-top: 6px; font-size: 13px; font-weight: 500; color: rgb(40 48 50 / .6); }
.chat-modal__quotes { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.chat-modal__quotes li {
  padding: 12px 16px; border-radius: 18px; background: #fff;
  font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -0.015em;
}
.chat-modal__quotes li:first-child { border-top-left-radius: 6px; }
.preview-note {
  margin-top: 20px; padding: 12px 14px;
  border: 1.5px dashed rgb(40 48 50 / .3); border-radius: 14px;
  font-size: 13px; line-height: 1.5; color: rgb(40 48 50 / .75);
}

.preview-toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 60;
  transform: translateX(-50%);
  width: max-content; max-width: min(90vw, 520px);
  padding: 12px 18px; border-radius: 14px;
  background: var(--ink); color: #fff;
  font-family: var(--font); font-size: 14px; line-height: 1.45;
  box-shadow: 0 12px 32px rgb(var(--shadow-rgb) / .25);
}

/* =====================================================================
   Di bawah 1200px: BELUM DIDESAIN untuk v07.
   Aturan di bawah hanya menjaga halaman tetap terbaca dan tidak rusak.
   ===================================================================== */
@media (max-width: 1199px) {
  .site-header { position: relative; }
  .hero { height: auto; --u: 1px; }
  .hero__stage { width: auto; padding: 24px 24px 48px; }
  .hero__glow, .hero__warm { display: none; }
  .hero__copy { position: relative; left: auto; top: auto; width: auto; }
  .hero__title { margin-left: 0; font-size: clamp(40px, 8.4cqw, 96px); }
  .hero__sub { width: auto; max-width: 560px; }
  .hero__ctas { flex-wrap: wrap; row-gap: 20px; }
  .hero__media {
    --u: min(1px, calc((100cqw - 48px) / 470));
    position: relative; inset: auto;
    width: calc(470 * var(--u)); height: calc(750 * var(--u));
    margin: 40px auto 0;
  }
  .hero__arch { left: 0; top: calc(190 * var(--u)); }
  .hero__cutout { left: 0; top: 0; }
  .moq-card { left: calc(-30 * var(--u)); top: calc(330 * var(--u)); }
  .hero__media .bubble { display: none; }
  .hero__controls { --u: min(1px, calc((100cqw - 48px) / 466)); position: relative; left: auto; top: auto; margin-top: 32px; }
}

@media (max-width: 959px) {
  .site-header__inner { height: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 16px 24px 0; }
  .site-logo { position: static; }
  .site-nav { width: 100%; }
  .nav-list { display: flex; flex-wrap: wrap; gap: 6px; height: auto; }
  .nav-list::before { display: none; }
  .nav-list > li { grid-column: auto; }
  .nav-link { background: #fff; }
  .nav-list__cta { margin: 0 0 0 auto; }
}

@media (max-width: 1023px) {
  .split-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .why__intro, .kat__intro, .brand__intro, .kat__title, .brand__title { width: auto; max-width: 640px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .kat__shelf { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .kat-card:nth-child(even) { padding-top: 0; }
  .help { flex-wrap: wrap; border-radius: 32px; }
  .help__text { flex-basis: 260px; }
  .brand__grid { grid-template-columns: repeat(2, 1fr); }
  .stories { grid-template-columns: 1fr; }
  .stories__list { grid-template-columns: 1fr; max-width: 420px; gap: 28px; }
  .stories__list > li:nth-child(n) { padding-top: 0; }
  .start__row { grid-template-columns: 1fr; }
  .stage-col { max-width: 588px; }
  .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .faq__bubbles { display: none; }
  .closing__arch, .closing .bubble, .closing .ring { display: none; }
  .footer__top { flex-wrap: wrap; }
  .footer__giant { height: auto; }
}

@media (max-width: 640px) {
  .sheet-wrap { padding-inline: var(--panel-gutter, 8px); }
  .sheet { border-radius: 32px; }
  .why__sheet, .brand__sheet, .faq__sheet, .closing, .footer__sheet { padding: 64px 20px 48px; }
  .kat, .start { padding: 72px 20px; }
  .why__grid, .brand__grid, .kat__shelf { grid-template-columns: 1fr; }
  .kat-card { max-width: 360px; }
  .adv { min-height: 240px; }
  .rail { display: none; }
  .step { padding: 22px 16px; gap: 16px; }
  .step--active { padding: 22px 16px; }
  .step__num { width: 52px; font-size: 36px; }
  .faq__item { padding: 20px 18px 20px 20px; }
  .faq__trigger { font-size: 18px; gap: 14px; }
  .btn--light { height: 64px; padding-left: 24px; font-size: 16px; }
  .footer__brand, .footer__contact { width: 100%; }
}

/* =====================================================================
   Tahap 2 — motion signature
   Aturan di bawah hanya berlaku bila js/motion.js berjalan (kelas .motion
   di <html>). Tanpa itu halaman tetap tampil seperti tahap 1.
   ===================================================================== */
/* ScrollTrigger mengukur posisi dengan scroll instan; smooth scroll CSS membuat
   pengukuran meleset saat halaman dimuat ulang di tengah. Anchor tetap di-scroll
   halus oleh motion.js. */
html.motion { scroll-behavior: auto; }
/* Target anchor yang difokuskan lewat skrip (tabindex=-1) tidak perlu cincin fokus. */
[tabindex="-1"]:focus-visible { outline: none; }

/* Hero: kanvas gelembung WebGL menggantikan gelembung DOM statis. */
.hero__canvas {
  position: absolute; inset: 0; z-index: 5;
  width: 100%; height: 100%;
  pointer-events: none;
}
.has-webgl .hero__media .bubble { visibility: hidden; }

/* Strip adegan: ukuran thumbnail aktif berpindah dengan transisi. */
.motion .scene__thumb {
  transition: width .5s cubic-bezier(.2, .7, .2, 1), height .5s cubic-bezier(.2, .7, .2, 1),
              border-radius .5s ease, opacity .4s ease, box-shadow .4s ease;
}
.motion .scene__bar { transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.motion .scene__bar > span { width: 100%; transform: scaleX(0); transform-origin: 0 50%; }

/* Rak kategori: parallax ringan pada foto (properti translate/scale terpisah
   dari transform hover, jadi keduanya tidak saling menimpa). */
.motion .kat-card__visual img { scale: 1.06; translate: 0 var(--py, 0%); }
.kat-card:focus-within .kat-card__visual img { transform: scale(1.04); }
.kat-card__arrow svg { transition: transform .25s ease; }
.kat-card:hover .kat-card__arrow svg,
.kat-card:focus-within .kat-card__arrow svg { transform: rotate(45deg); }

/* Gelembung kursor (dibuat oleh motion.js): satu gelembung mengekor pointer mouse. */
.cursor-bubble.bubble {
  position: fixed; left: 0; top: 0; z-index: 55;
  width: calc(var(--cs, 44) * 1px); height: calc(var(--cs, 44) * 1px);
  opacity: 0;
  transition: opacity .3s ease;
  will-change: transform;
}
.cursor-bubble.is-visible { opacity: 1; }

/* Start Simple: langkah aktif berpindah mengikuti scroll. */
.motion .step { transition: background-color .35s ease, box-shadow .35s ease, padding .35s ease, border-color .35s ease; }
.motion .step__num { transition: color .35s ease; }
.motion .stage-chip__num { transition: transform .3s ease; }

/* =====================================================================
   Tahap 3 — motif brand (brand/PATTERN) + gerak tambahan
   Permintaan Ardy 14 November 2026. Tidak ada di Figma v07: penempatan,
   ukuran, dan susunan ubin adalah usulan agent yang menunggu review.
   File SVG brand dipakai apa adanya; tiap ubin adalah potongan (crop)
   dari file itu lewat background-position, tidak digambar ulang.
   ===================================================================== */
.motif--p2 { --pat: url("../img/pattern-2.svg"); --cols: 7; --rows: 5; --k: 1; }
/* Pattern 1 tidak persis di grid (ubin 216,54 pada kanvas 650 × 1081, bergeser ±0,4px),
   jadi potongannya diperbesar 1,2% agar tepi ubin tetangga tidak ikut terlihat. */
.motif--p1 { --pat: url("../img/pattern-1.svg"); --cols: 3; --rows: 5; --k: 1.012; }

.ptile {
  display: block; flex: none;
  width: var(--tile); height: var(--tile);
  background-image: var(--pat);
  background-repeat: no-repeat;
  background-size: calc(var(--cols) * var(--k) * 100%) calc(var(--rows) * var(--k) * 100%);
  background-position:
    calc((var(--c) * var(--k) + (var(--k) - 1) / 2) / (var(--cols) * var(--k) - 1) * 100%)
    calc((var(--r) * var(--k) + (var(--k) - 1) / 2) / (var(--rows) * var(--k) - 1) * 100%);
  backface-visibility: hidden;
}

/* Pita motif: satu baris ubin. Diam = baris pertama file pattern, diulang.
   Saat motion.js berjalan (.motif--live) lintasan diisi ubin satuan dan digeser GSAP. */
.motif { position: relative; overflow: hidden; height: var(--tile); background: var(--deep); }
.motif__track {
  height: 100%;
  background: var(--pat) 0 0 / auto calc(var(--rows) * 100%) repeat-x;
}
.motif--live .motif__track {
  display: flex; width: max-content;
  background: none;
  will-change: transform;
}

.motif--band { --tile: 104px; margin: 16px 16px 0; border-radius: 48px; }
.why + .motif--band { margin-top: 0; }

.motif--hem { --tile: 64px; position: absolute; left: 0; right: 0; top: 0; }
.footer__sheet { padding-top: calc(72px + 64px); }

/* Mosaik FAQ: mengisi sisa kolom kiri, rata bawah dengan daftar pertanyaan. */
.faq__head { align-self: stretch; display: flex; flex-direction: column; }
.faq__mosaic {
  --tile: auto;
  margin-top: auto;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-radius: 28px; overflow: hidden;
  background: var(--white);
}
.faq__bubbles { margin-bottom: 48px; }
.faq__mosaic .ptile { width: auto; height: auto; aspect-ratio: 1; }

/* Judul yang dipecah per kata oleh motion.js untuk animasi masuk. */
.w { display: inline-block; }

@media (max-width: 1199px) {
  .motif--band { --tile: 72px; border-radius: 36px; }
  .motif--hem { --tile: 48px; }
  .footer__sheet { padding-top: calc(72px + 48px); }
}
@media (max-width: 1023px) {
  .faq__mosaic { display: none; }
}
@media (max-width: 640px) {
  .motif--band { --tile: 56px; margin-inline: 8px; border-radius: 28px; }
  .footer__sheet { padding-top: calc(48px + 48px); }
}

/* ---------- Gerak dikurangi ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
