/* =====================================================================
   MASECI Home v07 — ALTERNATIF hero + footer (index-alt.html)
   Sumber: Figma Maseci KXvEDluP5AX3ZX8nknB3lo, halaman wireframe,
   frame "Hero - New" (48:1182) dan "Footer - New" (48:1640). Desktop 1440.
   Dimuat SETELAH styles.css; juga menyelaraskan panel dengan foto Hero.
   Halaman utama (index.html) tidak memakai file ini.
   ===================================================================== */

.page {
  --panel-frame-width: 1440px;
  --panel-gutter: clamp(16px, calc(100cqw * 64 / 1440), 64px);
}

/* ---------- Header (bagian dari frame Hero - New, 48:1184) ----------
   Beda dengan header v07: ikut alur halaman (tidak menimpa hero) dan padding sisi 64. */
.site-header--b { position: relative; }
.site-header--b .site-header__inner { height: 105px; padding: 26px 64px 0; }
.site-header--b .site-logo { left: 64px; top: 24px; }
.site-header--b .nav-list__cta { margin-top: 0; }

/* ---------- Hero alternatif (48:1183) — komposisi 1440 diskalakan dengan --u ---------- */
.herob { background: var(--paper); }
.herob__inner {
  width: min(100%, var(--panel-frame-width));
  margin-inline: auto;
  padding: 0 var(--panel-gutter) calc(64 * var(--u));
}

.herob__media { position: relative; }
/* Foto 1312 × 602,5 dengan sudut 48 dan takik kanan bawah setinggi 55 untuk dua kartu.
   Bentuk takik = path boolean "Subtract" (48:1203) yang dibaca langsung dari Figma. */
.herob__photo {
  position: relative; overflow: hidden;
  isolation: isolate;
  height: calc(602.5 * var(--u));
  background: var(--arch-beige);
  -webkit-mask: url("./hero-frame.svg") 0 0 / 100% 100% no-repeat;
          mask: url("./hero-frame.svg") 0 0 / 100% 100% no-repeat;
}
.herob__photo picture { display: block; height: 100%; }
.herob__photo img,
.herob__photo video {
  display: block;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 50%;
}
.herob__photo video {
  position: absolute; inset: 0;
  visibility: hidden; pointer-events: none;
}
.herob__photo.has-video-frame video { visibility: visible; }
.herob__brand-message {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 40% 14% 46%;
  place-items: center;
  margin: 0;
  color: #fff;
  mix-blend-mode: difference;
  font-size: clamp(16px, 3.55cqw, 52px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
  pointer-events: none;
}
.herob__brand-message span:last-child { grid-column: 3; }

/* Dua kartu mengambang di takik (48:1228 dan 48:1224). */
.herob__cards {
  position: absolute; z-index: 2;
  left: calc(735 * var(--u)); top: calc(526 * var(--u));
  display: flex; gap: calc(30 * var(--u));
}
.pill-card {
  display: flex; align-items: center; gap: calc(14 * var(--u));
  height: calc(76 * 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);
  font-size: calc(16 * var(--u)); font-weight: 500; letter-spacing: -0.01em; line-height: normal;
  white-space: nowrap;
}
.pill-card strong { color: var(--deep); font-weight: 700; }
.pill-card__thumb {
  position: relative; flex: none; overflow: hidden;
  width: calc(56 * var(--u)); height: calc(56 * var(--u));
  border-radius: 50%; background: var(--arch-beige);
}
.pill-card__thumb img {
  position: absolute; max-width: none;
  left: calc(-3 * var(--u)); top: calc(-5 * var(--u));
  width: calc(63 * var(--u)); height: auto;
}

/* Baris tengah: eyebrow + H1 di kiri, strip progres di kanan. */
.herob__mid {
  position: relative;
  margin-top: calc(47.5 * var(--u));
  min-height: calc(194 * var(--u));
}
.herob__title {
  margin-top: calc(24 * var(--u));
  width: calc(640 * var(--u));
  font-size: calc(64 * var(--u));
  font-weight: 500; line-height: 1.2; letter-spacing: -0.045em;
}
.herob .hero__controls {
  --u: inherit;
  left: auto; right: 0; top: calc(64 * var(--u));
  width: min(100%, calc(376 * var(--u)));
}
.herob .hero__pause .hero__pause-icon { visibility: hidden; }
.herob .hero__pause .hero__play-icon { visibility: visible; }
.herob .hero__pause.is-playing .hero__pause-icon { visibility: visible; }
.herob .hero__pause.is-playing .hero__play-icon { visibility: hidden; }
.herob__photo > .hero__pause {
  display: none;
  position: absolute; z-index: 1; left: 16px; bottom: 16px;
  width: 44px; height: 44px;
}
.herob .hero__scenes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
}
.herob .scene__thumb {
  width: 100%; height: auto; aspect-ratio: 32 / 41;
  border-radius: calc(14 * var(--u));
}
.herob .scene__img {
  inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.herob .scene__bar { width: 100%; }
.herob .scene__bar > span { width: 100%; transform: scaleX(0); transform-origin: left; }
.herob__status {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* Baris bawah: subheadline + CTA. */
.herob__bottom {
  margin-top: calc(51 * var(--u));
  display: flex; align-items: flex-start; gap: calc(48 * var(--u));
}
.herob__sub {
  flex: 1 1 auto; max-width: calc(742 * var(--u));
  font-size: max(16px, calc(20 * var(--u)));
  line-height: 1.55; letter-spacing: -0.015em;
  color: var(--ink-82);
}
.herob .hero__ctas { flex: none; margin: 0 0 0 auto; }

/* ---------- Pita motif hero (Marquee Pattern 48:1247) ----------
   15 ubin Pattern 1 (brand/PATTERN/Pattern 1.svg), tinggi 112, selebar layar, tanpa sudut.
   Urutan ubin mengikuti Figma; nama grup Figma (Group 3–17) = urutan ubin di file. */
.motif--herob { --tile: 112px; background: #fff; }
.motif--seq .motif__track { display: flex; width: max-content; background: none; }

/* ---------- Footer alternatif (48:1640) ----------
   Sama dengan footer v07 tanpa pita motif tepi atas dan tanpa logo raksasa. */
.site-footer--b .footer__sheet { padding-top: 72px; }

/* =====================================================================
   Di bawah 1200px: BELUM DIDESAIN. Susunan bertumpuk ini hanya menjaga
   halaman tetap terbaca; bukan usulan tata letak mobile.
   ===================================================================== */
@media (max-width: 1199px) {
  .page { --panel-gutter: 24px; }
  .site-header--b .site-header__inner { padding: 24px 24px 0; }
  .site-header--b .site-logo { left: 24px; }

  .herob { --u: 1px; }
  .herob__inner { padding-bottom: 48px; }
  .herob__photo {
    height: auto; aspect-ratio: 1312 / 602.5;
    -webkit-mask: none; mask: none;
    border-radius: 32px;
  }
  .herob__cards { position: static; margin-top: 16px; flex-wrap: wrap; gap: 12px; }
  .herob__mid { margin-top: 40px; min-height: 0; }
  .herob__title { width: auto; max-width: 640px; font-size: clamp(36px, 7cqw, 64px); }
  .herob .hero__controls { position: relative; right: auto; top: auto; margin-top: 32px; }
  .herob__bottom { flex-direction: column; gap: 28px; margin-top: 32px; }
  .herob__sub { max-width: 640px; }
  .herob .hero__ctas { margin: 0; }

  .motif--herob { --tile: 72px; }
}
@media (max-width: 959px) {
  .site-header--b .site-header__inner { height: auto; padding: 16px 24px 0; }
}
@media (max-width: 767px) {
  .herob__photo > .hero__pause:not([hidden]) { display: block; }
}
@media (max-width: 640px) {
  .page { --panel-gutter: 16px; }
  .herob__photo { aspect-ratio: 4 / 3; border-radius: 24px; }
  .herob__brand-message {
    grid-template-columns: 32% 36% 32%;
    font-size: clamp(16px, 5cqw, 30px);
  }
  .motif--herob { --tile: 56px; }
  .site-footer--b .footer__sheet { padding-top: 64px; }
}
