/* Beranda Arival Studio — gaya khusus section beranda (komponen bersama ada di site.css). */

/* ---------- Hero ---------- */
.h-hero { padding: 40px 0 28px; }
@media (min-width: 1024px) { .h-hero { padding: 80px 0 48px; } }
.h-hero__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 14px; }
@media (min-width: 640px) { .h-hero__meta { font-size: 17px; } }
.h-hero__time { text-align: right; flex-shrink: 0; }
.h-hero__time b { display: block; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.h-hero__title { margin-top: 32px; max-width: 1120px; }
@media (min-width: 1024px) { .h-hero__title { margin-top: 56px; } }
.h-hero__desc { margin-top: 20px; max-width: 800px; color: var(--ink-2); font-size: clamp(15px, 1.35vw, 19px); line-height: 1.6; }
.h-hero__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-top: 32px; }
@media (min-width: 1024px) { .h-hero__bottom { margin-top: 56px; } }
.h-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.h-proof { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 14px; }
@media (min-width: 640px) { .h-proof { align-items: flex-end; font-size: 15px; } }
.h-proof__faces { display: flex; }
.h-proof__faces > * { width: 40px; height: 40px; border-radius: 999px; border: 2px solid var(--bg); object-fit: cover; background: var(--surface-2); margin-left: -10px; }
.h-proof__faces > *:first-child { margin-left: 0; }
.h-proof__brand { display: grid; place-items: center; background: var(--brand) !important; }
.h-proof__brand span { width: 18px; height: 18px; background: #fff; -webkit-mask: url('/assets/logo/arival-studio-mark.svg') center/contain no-repeat; mask: url('/assets/logo/arival-studio-mark.svg') center/contain no-repeat; }
.h-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; }
@media (min-width: 640px) { .h-checks { font-size: 15px; } }
.h-checks li { display: inline-flex; align-items: center; gap: 8px; }
.h-checks li::before { content: ""; width: 18px; height: 18px; border-radius: 999px; flex-shrink: 0; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Kata berganti di judul: huruf naik bergantian */
.h-rot { position: relative; display: inline-grid; vertical-align: bottom; white-space: nowrap; color: var(--brand); padding-bottom: .1em; margin-bottom: -.1em; transition: width .7s var(--ease); }
.h-rot__word { grid-area: 1 / 1; justify-self: start; display: inline-flex; }
.h-rot__ch { display: inline-block; white-space: pre; animation: hRotIn .7s var(--ease) both; animation-delay: calc(var(--i) * 26ms); }
.h-rot__word.is-out .h-rot__ch { animation: hRotOut .4s cubic-bezier(.55, 0, .8, .35) both; animation-delay: calc(var(--i) * 10ms); }
@keyframes hRotIn { from { opacity: 0; transform: translateY(.45em); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hRotOut { to { opacity: 0; transform: translateY(-.35em); filter: blur(6px); } }

/* ---------- Strip karya berjalan ---------- */
.h-reel { position: relative; overflow: hidden; padding: 8px 0 16px; }
.h-reel__row { display: flex; gap: 16px; width: max-content; animation: hReel var(--dur, 60s) linear infinite; }
.h-reel__row + .h-reel__row { margin-top: 16px; animation-direction: reverse; }
.h-reel:hover .h-reel__row { animation-play-state: paused; }
@keyframes hReel { to { transform: translateX(-50%); } }
.h-reel__card { width: 260px; aspect-ratio: 4 / 3; flex-shrink: 0; border-radius: 10px; background: var(--surface-2); overflow: hidden; }
@media (min-width: 1024px) { .h-reel__card { width: 400px; border-radius: 12px; } }
.h-reel__card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.h-reel__card:hover img { transform: scale(1.04); }
.h-reel::before, .h-reel::after { content: ""; position: absolute; top: 0; bottom: 0; width: 8vw; z-index: 2; pointer-events: none; }
.h-reel::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.h-reel::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.h-reel__cta { position: absolute; right: 16px; bottom: 28px; z-index: 3; }
@media (min-width: 1024px) { .h-reel__cta { right: 6vw; bottom: 40px; } }

/* ---------- Klien ---------- */
.h-clients { padding: 40px 0 8px; }
.h-clients__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--muted); font-size: 14px; }
@media (min-width: 640px) { .h-clients__top { font-size: 16px; } }
.h-clients__top b { color: var(--brand); font-weight: 500; }
.h-clients__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-top: 24px; }
@media (min-width: 1024px) { .h-clients__grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.h-client { display: grid; place-items: center; height: 64px; padding: 0 12px; border-radius: 16px; color: var(--ink-2); font-weight: 600; font-size: 15px; letter-spacing: -.01em; text-align: center; transition: background-color .3s, color .3s; }
@media (min-width: 1024px) { .h-client { height: 80px; font-size: 17px; } }
.h-client:hover { background: var(--surface-2); color: var(--ink); }
.h-client img { height: 30px; max-width: 92%; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
@media (min-width: 1024px) { .h-client img { height: 38px; } }
html.dark .h-client img { filter: grayscale(1) invert(1); }
.h-client:hover img { filter: none; opacity: 1; }

/* ---------- Pernyataan ---------- */
.h-statement { font-weight: 500; letter-spacing: -.025em; line-height: 1.3; font-size: clamp(22px, 3.1vw, 46px); }
.h-statement .w { color: var(--line-strong); transition: color .4s var(--ease); }
.h-statement .w.on { color: var(--ink); }

/* ---------- Karya ---------- */
.h-works { display: grid; gap: 36px 24px; }
@media (min-width: 768px) { .h-works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; } }
.h-work__media { position: relative; overflow: hidden; aspect-ratio: 5 / 3; border-radius: 16px; background: var(--surface-2); }
.h-work__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.h-work:hover .h-work__media img { transform: scale(1.04); }
.h-work__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; color: var(--muted); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
@media (min-width: 1024px) { .h-work__tags { font-size: 13px; } }
.h-work__tags span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 8px 2px 0; border-radius: 99px; background: var(--brand); vertical-align: middle; }
.h-work__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.h-work__row svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform .4s var(--ease), color .3s; }
.h-work:hover .h-work__row svg { transform: translate(3px, -3px); color: var(--brand); }
.h-work__title { font-weight: 600; letter-spacing: -.02em; font-size: clamp(19px, 1.6vw, 24px); }
.h-work__desc { margin-top: 6px; color: var(--muted); font-size: clamp(14px, 1.1vw, 17px); line-height: 1.55; }
.h-center { display: flex; justify-content: center; margin-top: 40px; }
@media (min-width: 1024px) { .h-center { margin-top: 64px; } }

/* ---------- Founder + angka ---------- */
.h-founder__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
@media (min-width: 1024px) { .h-founder__head { margin-bottom: 48px; } }
.h-founder__title { max-width: 720px; }
.h-founder__mark { width: clamp(64px, 11vw, 170px); aspect-ratio: 1; flex-shrink: 0; background: linear-gradient(160deg, #6E80FF, var(--brand) 60%, #1426C9); -webkit-mask: url('/assets/logo/arival-studio-mark.svg') center/contain no-repeat; mask: url('/assets/logo/arival-studio-mark.svg') center/contain no-repeat; transform: rotate(-14deg); }
.h-founder__grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .h-founder__grid { grid-template-columns: minmax(0, 390fr) minmax(0, 976fr); gap: 24px; align-items: stretch; } }
.h-founder__photo { overflow: hidden; border-radius: var(--radius); background: var(--surface-2); aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .h-founder__photo { aspect-ratio: auto; } }
.h-founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.h-founder__card { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
@media (min-width: 1024px) { .h-founder__card { padding: 40px; gap: 20px; } }
.h-founder__who { display: flex; align-items: center; gap: 12px; }
.h-founder__who img { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; }
.h-founder__who b { display: block; font-weight: 600; font-size: 17px; }
.h-founder__who span { color: var(--muted); font-size: 14px; }
.h-founder__lead { font-weight: 600; font-size: clamp(17px, 1.6vw, 24px); letter-spacing: -.015em; line-height: 1.4; }
.h-founder__p { color: var(--ink-2); font-size: clamp(14px, 1.15vw, 18px); line-height: 1.65; opacity: .85; }
.h-founder__p.is-last { font-weight: 500; opacity: 1; }
.h-founder__card .s-btn { align-self: flex-start; margin-top: 8px; }
.h-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
@media (min-width: 900px) { .h-stats { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); margin-top: 96px; } }
.h-stat { padding: 20px 12px; text-align: center; }
.h-stat + .h-stat { border-left: 1px solid var(--line); }
@media (max-width: 899px) { .h-stat:nth-child(3) { border-left: 0; } .h-stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
.h-stat__num { font-weight: 600; letter-spacing: -.03em; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.1; }
.h-stat__label { margin: 10px auto 0; max-width: 280px; color: var(--muted); font-size: clamp(13px, 1.05vw, 16px); line-height: 1.5; }

/* ---------- Layanan bertumpuk ---------- */
.h-head-left { display: flex; flex-direction: column; gap: 12px; }
.h-stack { display: grid; gap: 16px; }
.h-svc { position: relative; overflow: hidden; display: grid; gap: 24px; padding: 24px; border-radius: 24px; color: #fff; background: #1E2A6B; }
.h-svc:nth-child(3n+2) { background: #134436; }
.h-svc:nth-child(3n+3) { background: #1B2350; }
@media (min-width: 900px) {
  .h-svc { position: sticky; top: calc(100px + var(--i) * 20px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 40px; min-height: 480px; align-items: center; }
}
.h-svc__body { position: relative; z-index: 1; align-self: start; }
@media (min-width: 900px) { .h-svc__body { padding-top: 8px; } }
.h-svc__title { font-weight: 600; letter-spacing: -.02em; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.15; }
.h-svc__desc { margin-top: 16px; max-width: 520px; color: rgba(255, 255, 255, .78); font-size: clamp(14px, 1.1vw, 17px); line-height: 1.65; }
.h-svc__list { display: grid; grid-template-columns: repeat(2, max-content); gap: 14px 40px; margin: 28px 0 0; padding: 0 0 0 18px; font-weight: 500; font-size: 15px; }
.h-svc .s-btn { margin-top: 28px; }
.h-svc__media { position: relative; z-index: 1; overflow: hidden; border-radius: 16px; background: rgba(255, 255, 255, .9); padding: 12px; aspect-ratio: 16 / 11; }
.h-svc__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 8px; transition: transform 1s var(--ease); }
.h-svc:hover .h-svc__media img { transform: scale(1.03); }
.h-svc__num { position: absolute; left: 36px; bottom: -14px; font-weight: 700; font-size: clamp(80px, 9vw, 140px); line-height: 1; letter-spacing: -.04em; color: rgba(255, 255, 255, .06); pointer-events: none; }
@media (max-width: 899px) { .h-svc__num { display: none; } }
.h-svc .s-btn--light { background: #fff; color: #121212; }
.h-svc .s-btn--light .s-btn__ic { background: #121212; color: #fff; }

/* ---------- Keunggulan ---------- */
.h-why { display: grid; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
@media (min-width: 640px) { .h-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .h-why { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.h-why__item { padding: 28px 24px; box-shadow: inset -1px -1px 0 var(--line); transition: background-color .3s; }
@media (min-width: 1024px) { .h-why__item { padding: 40px 36px; } }
.h-why__item:hover { background: var(--surface-2); }
.h-why__icon { width: 36px; height: 36px; color: var(--ink); margin-bottom: 36px; transition: color .3s, transform .5s var(--ease); }
@media (min-width: 1024px) { .h-why__icon { margin-bottom: 64px; } }
.h-why__item:hover .h-why__icon { color: var(--brand); transform: translateY(-3px); }
.h-why__item h3 { font-weight: 600; font-size: clamp(17px, 1.3vw, 20px); letter-spacing: -.015em; }
.h-why__item p { margin-top: 8px; color: var(--muted); font-size: clamp(14px, 1.05vw, 16px); line-height: 1.6; }

/* ---------- Proses: kartu menempel, langkah berganti saat digulir ---------- */
.h-proc__step + .h-proc__step { margin-top: 24px; }
.h-proc__card { overflow: hidden; border-radius: 24px; background: var(--bg); }
@media (min-width: 640px) { .h-proc__card { border-radius: 32px; } }
.h-proc__card { display: flex; flex-direction: column; gap: 28px; padding: 0; }
@media (min-width: 640px) { .h-proc__card { gap: 40px; } }
.h-proc__media { width: 100%; overflow: hidden; border-radius: 24px; aspect-ratio: 1140 / 812; display: grid; place-items: center; padding: 8%; background: linear-gradient(160deg, #7C8CFF 0%, #A6B1FF 50%, #D3D8FF 100%); }
.h-proc__media img { width: 100%; height: 100%; object-fit: contain; }
.h-proc__text { display: flex; flex-direction: column; gap: 24px; }
.h-proc__body { display: flex; flex-direction: column; gap: 20px; }
.h-proc__num { color: var(--brand); font-size: 18px; line-height: 1; }
.h-proc__title { font-weight: 600; letter-spacing: -.02em; line-height: 1.05; font-size: clamp(26px, 2.3vw, 32px); }
.h-proc__desc { color: var(--ink); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.4; max-width: 560px; }
.h-proc__meta { color: var(--brand); font-size: 16px; line-height: 1; }
@media (min-width: 1024px) {
  .h-proc { position: relative; height: calc(var(--n, 3) * 75vh + 540px); }
  .h-proc__sticky { position: sticky; top: 100px; display: grid; }
  .h-proc__step { grid-area: 1 / 1; opacity: 0; pointer-events: none; transition: opacity .3s ease-out; }
  .h-proc__step + .h-proc__step { margin-top: 0; }
  .h-proc__step.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
  .h-proc__card { flex-direction: row; align-items: center; gap: 56px; padding: 48px; }
  .h-proc__media { width: 47%; flex-shrink: 0; }
  .h-proc__text { flex: 1; gap: 40px; }
  .h-proc__num { font-size: 20px; }
  .h-proc__step .op { opacity: 0; }
  .h-proc__step.is-active .op { animation: opRise .5s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(var(--k, 0) * 80ms); }
}
@keyframes opRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .h-proc__step.is-active .op { animation: none; opacity: 1; } }

/* ---------- Ilustrasi UI proses (kartu di atas panel biru) ---------- */
.h-proc__media { position: relative; padding: 0; }
.h-proc__tools { display: flex; flex-wrap: wrap; gap: 16px; }
.h-proc__tools span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }
.h-proc__tools svg { width: 20px; height: 20px; }
.pv { position: absolute; inset: 0; font-size: clamp(9px, .85vw, 12px); color: #121212; }
.pv-card { position: absolute; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(20, 30, 120, .45); padding: 1.2em; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.pv b { font-weight: 600; }
.pv-dot { display: inline-block; width: .7em; height: .7em; border-radius: 99px; }
.pv-dot--brand { background: #22C55E; }
.pv-bar { display: flex; align-items: center; gap: .45em; margin: -1.2em -1.2em 1em; padding: .8em 1em; border-bottom: 1px solid #EEF0F5; }
.pv-bar span { width: .7em; height: .7em; border-radius: 99px; background: #E3E5EC; }
.pv-bar em { margin-left: .6em; font-style: normal; color: #7A7F8C; }
.pv-bar--dark { border-color: rgba(255, 255, 255, .08); }
.pv-bar--dark span { background: rgba(255, 255, 255, .2); }
.pv-tag { position: absolute; padding: .6em 1em; border-radius: 99px; background: #121212; color: #fff; font-weight: 500; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }
/* 1. Diskusi */
.pv-chat { left: 7%; top: 12%; width: 54%; }
.pv-chat__head { display: flex; align-items: center; gap: .6em; margin-bottom: 1em; }
.pv-chat__head em { margin-left: auto; font-style: normal; color: #22C55E; }
.pv-bubble { width: fit-content; max-width: 85%; margin-top: .6em; padding: .7em .9em; border-radius: 12px 12px 12px 4px; background: #F2F3F7; line-height: 1.35; }
.pv-bubble--me { margin-left: auto; border-radius: 12px 12px 4px 12px; background: #243CFF; color: #fff; }
.pv-notes { right: 6%; bottom: 10%; width: 46%; }
.pv-notes ul { list-style: none; margin: .9em 0 0; padding: 0; display: grid; gap: .75em; }
.pv-notes li { display: flex; align-items: center; gap: .6em; }
.pv-notes li i { width: 1.2em; height: 1.2em; border-radius: 4px; border: 1.5px solid #C9CDD8; flex-shrink: 0; }
.pv-notes li.is-done { color: #7A7F8C; text-decoration: line-through; }
.pv-notes li.is-done i { background: #243CFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center/80% no-repeat; border-color: #243CFF; }
/* 2. Desain */
.pv-canvas { left: 7%; top: 11%; width: 64%; height: 74%; }
.pv-canvas__body { display: grid; gap: .8em; }
.pv-wire { height: 2.2em; border-radius: 8px; background: #EEF0FF; }
.pv-wire--nav { height: 1.4em; width: 70%; background: #F2F3F7; }
.pv-wire--hero { height: auto; display: grid; gap: .5em; padding: 1.1em; background: linear-gradient(135deg, #EEF0FF, #DCE1FF); }
.pv-wire--hero i { display: block; height: .8em; width: 80%; border-radius: 99px; background: #243CFF; opacity: .85; }
.pv-wire--hero i + i { width: 55%; opacity: .35; }
.pv-wire--hero b { display: block; width: 32%; height: 1.6em; margin-top: .3em; border-radius: 99px; background: #121212; }
.pv-wire__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; }
.pv-wire__row .pv-wire { height: 4em; background: #F2F3F7; }
.pv-palette { right: 6%; top: 30%; width: 30%; display: grid; gap: .6em; }
.pv-palette div { display: flex; gap: .4em; }
.pv-palette span { width: 1.9em; height: 1.9em; border-radius: 99px; border: 2px solid #fff; box-shadow: 0 0 0 1px #EEF0F5; }
.pv-palette p { font-size: 2.2em; font-weight: 600; line-height: 1; }
.pv-palette small { font-size: .38em; font-weight: 400; color: #7A7F8C; }
.pv-tag--a { left: 54%; bottom: 9%; background: #243CFF; }
/* 3. Pengembangan */
.pv-code { left: 6%; top: 12%; width: 72%; background: #14161F; color: #D5D9E6; }
.pv-code pre { margin: 0; font: 500 1em/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }
.pv-code i { font-style: normal; }
.pv-code .k { color: #8EA0FF; } .pv-code .f { color: #F472B6; } .pv-code .s { color: #86EFAC; } .pv-code .c { color: #6B7280; }
.pv-term { right: 6%; bottom: 10%; width: 46%; background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; display: grid; gap: .45em; }
.pv-term i { font-style: normal; color: #243CFF; }
.pv-term .ok { color: #16A34A; }
/* 4. Peluncuran */
.pv-launch { left: 8%; top: 13%; width: 70%; }
.pv-launch__top { display: flex; align-items: center; justify-content: space-between; }
.pv-live { display: inline-flex; align-items: center; gap: .4em; padding: .3em .7em; border-radius: 99px; background: #DCFCE7; color: #15803D; font-weight: 600; }
.pv-live i { width: .55em; height: .55em; border-radius: 99px; background: #22C55E; animation: pvPulse 1.6s ease-in-out infinite; }
@keyframes pvPulse { 50% { opacity: .3; } }
.pv-chart { display: block; width: 100%; height: 6.5em; margin: 1em 0; }
.pv-chart__line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.pv-launch__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; }
.pv-launch__stats div { padding: .7em; border-radius: 10px; background: #F5F6FA; }
.pv-launch__stats small { display: block; color: #7A7F8C; }
.pv-launch__stats b { font-size: 1.6em; color: #243CFF; }
.pv-tag--b { right: 7%; bottom: 10%; }
/* Gerak: kartu sedikit bergeser masuk saat langkahnya aktif */
@media (min-width: 1024px) {
  .h-proc__step .pv-card, .h-proc__step .pv-tag { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .8s cubic-bezier(.22, 1, .36, 1); }
  .h-proc__step.is-active .pv-card, .h-proc__step.is-active .pv-tag { opacity: 1; transform: none; }
  .h-proc__step.is-active .pv-card + .pv-card { transition-delay: .12s; }
  .h-proc__step.is-active .pv-tag { transition-delay: .24s; }
  .h-proc__step .pv-chart__line { stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s ease .3s; }
  .h-proc__step.is-active .pv-chart__line { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) { .h-proc__step .pv-card, .h-proc__step .pv-tag { opacity: 1 !important; transform: none !important; } }

/* ---------- Perbandingan ---------- */
.h-compare { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.h-compare table { width: 100%; min-width: 760px; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
@media (min-width: 1024px) { .h-compare table { font-size: 17px; } }
.h-compare th, .h-compare td { padding: 20px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); line-height: 1.4; }
@media (min-width: 1024px) { .h-compare th, .h-compare td { padding: 26px 16px; } }
.h-compare tbody tr:last-child > * { border-bottom: 0; }
.h-compare th + th, .h-compare td, .h-compare th + td { border-left: 1px solid var(--line); }
.h-compare thead th { font-weight: 600; font-size: clamp(15px, 1.2vw, 19px); }
.h-compare tbody th { font-weight: 600; }
.h-compare td { color: var(--muted); }
.h-compare .is-us { background: var(--brand-soft); color: var(--ink); font-weight: 500; }
.h-compare__brand { display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; background: var(--brand); -webkit-mask: url('/assets/logo/arival-studio-mark.svg') center/contain no-repeat; mask: url('/assets/logo/arival-studio-mark.svg') center/contain no-repeat; }
.h-compare .c { display: flex; gap: 10px; align-items: center; }
.h-compare .c i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 999px; flex-shrink: 0; font-style: normal; color: #fff; }
.h-compare .c i svg { width: 12px; height: 12px; }
.h-compare .c i.yes { background: #22C55E; }
.h-compare .c i.no { background: #F87171; }

/* ---------- Harga: kartu setinggi sama, tombol di bawah ---------- */
.h-pricing { background: #F6F6F6; }
html.dark .h-pricing { background: #111113; }
.h-plans { display: grid; gap: 24px; }
@media (min-width: 1024px) { .h-plans { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); align-items: stretch; } }
.h-plan { display: flex; flex-direction: column; border-radius: 24px; background: #E6E6E6; }
html.dark .h-plan { background: var(--surface-3); }
.h-plan.is-popular { background: #1A1A1A; }
html.dark .h-plan.is-popular { background: var(--brand); }
.h-plan__tag { display: flex; align-items: center; justify-content: center; padding: 12px; font-size: 20px; font-weight: 500; line-height: 1.2; color: #535353; }
html.dark .h-plan__tag { color: var(--muted); }
.h-plan.is-popular .h-plan__tag { color: #fff; }
.h-plan__body { display: flex; flex: 1; flex-direction: column; gap: 32px; overflow: hidden; padding: 24px 20px; border-radius: 24px; background: var(--surface); }
.h-plan__main { display: flex; flex: 1; flex-direction: column; gap: 32px; }
.h-plan__top { display: flex; flex-direction: column; gap: 24px; }
.h-plan__top .h-plan__line { margin-top: auto; }
.h-plan.is-custom .h-plan__top { height: 130px; justify-content: space-between; gap: 0; }
.h-plan__intro { display: flex; flex-direction: column; gap: 4px; }
.h-plan__name { font-weight: 400; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.h-plan.is-custom .h-plan__intro { gap: 10px; }
.h-plan.is-custom .h-plan__name { font-weight: 500; font-size: clamp(26px, 2.2vw, 32px); line-height: 1; }
.h-plan__sub { color: #535353; font-size: 14px; line-height: 1.3; }
html.dark .h-plan__sub { color: var(--muted); }
.h-plan__price { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 10px; }
.h-plan__price b { display: inline-block; font-weight: 500; font-size: clamp(24px, 2.1vw, 32px); line-height: 1; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.h-plan__price span { color: #535353; font-size: 16px; line-height: 1; }
html.dark .h-plan__price span { color: var(--muted); }
.h-plan__price b.is-swap { animation: prSwap .45s cubic-bezier(.22, 1, .36, 1); }
@keyframes prSwap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.h-addon { position: relative; display: flex; align-items: flex-start; gap: 11px; padding: 16px; border-radius: 12px; background: #FAFAFA; cursor: pointer; }
html.dark .h-addon { background: var(--surface-2); }
.h-addon__text { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 8px; }
.h-addon__text b { font-weight: 500; font-size: 16px; line-height: 1.2; color: var(--ink); }
.h-addon__text span { color: #535353; font-size: 16px; line-height: 1.2; }
html.dark .h-addon__text span { color: var(--muted); }
.h-addon__input { position: absolute; opacity: 0; pointer-events: none; }
.h-addon__switch { position: relative; width: 35px; height: 18px; margin-top: 4px; flex-shrink: 0; border-radius: 99px; background: #E0E0E0; transition: background-color .3s; }
.h-addon__switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 99px; background: #1A1A1A; transition: transform .3s ease-out, background-color .3s; }
.h-addon__input:checked + .h-addon__switch { background: var(--brand); }
.h-addon__input:checked + .h-addon__switch::after { transform: translateX(17px); background: #fff; }
.h-addon__input:focus-visible + .h-addon__switch { outline: 2px solid var(--brand); outline-offset: 2px; }
.h-plan__line { height: 1px; width: 100%; background: #E6E6E6; }
html.dark .h-plan__line { background: var(--line); }
.h-plan__inc { display: flex; flex-direction: column; gap: 24px; }
.h-plan__inc > p { font-weight: 500; font-size: 16px; line-height: 1.2; color: var(--ink); }
.h-plan__inc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.h-plan__inc li { display: flex; align-items: center; gap: 12px; color: #404040; font-size: 16px; line-height: 1.2; }
html.dark .h-plan__inc li { color: var(--ink-2); }
.h-plan__inc li svg { width: 18px; height: 18px; flex-shrink: 0; }
.h-plan__inc li path { stroke: #727272; stroke-width: 1.125; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .4s ease; transition-delay: var(--t, 0ms); }
.h-plan.in .h-plan__inc li path { stroke-dashoffset: 0; }
.h-plan__cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 52px; padding: 4px 4px 4px 20px; border-radius: 26px; border: 1px solid #F6F6F6; background: #FAFAFA; color: #131313; font-size: 16px; transition: background-color .2s, border-color .2s; }
.h-plan.is-popular .h-plan__cta { background: #0B0B0B; border-color: #0B0B0B; color: #fff; }
html.dark .h-plan__cta { background: var(--surface-2); border-color: var(--line); color: var(--ink); }
.h-plan__cta-ic { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 22px; background: #fff; color: #131313; }
.h-plan__cta-ic svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.h-plan__cta:hover .h-plan__cta-ic svg { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .h-plan__inc li path { transition: none; stroke-dashoffset: 0; } }

/* ---------- Testimoni ---------- */
.h-quote { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.h-quote__main { position: relative; padding: 64px 20px 32px; min-height: 280px; }
@media (min-width: 1024px) { .h-quote__main { padding: 120px 15% 96px; min-height: 500px; } }
.h-quote__mark { position: absolute; left: 24px; top: 8px; font-size: 96px; line-height: 1; font-family: Georgia, serif; color: var(--line-strong); }
@media (min-width: 1024px) { .h-quote__mark { left: 36px; top: 16px; font-size: 120px; } }
.h-quote__nav { position: absolute; right: 16px; top: 16px; display: flex; gap: 12px; }
@media (min-width: 1024px) { .h-quote__nav { right: 24px; top: 24px; } }
.h-quote__nav button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--surface-3); color: var(--ink); transition: background-color .25s, color .25s, transform .3s var(--ease); }
.h-quote__nav button:last-child { background: var(--invert); color: var(--invert-ink); }
.h-quote__nav button:hover { transform: scale(1.06); }
.h-quote__nav svg { width: 18px; height: 18px; }
.h-quote__slide { display: none; margin: 0; }
.h-quote__slide.is-active { display: block; animation: hFade .6s var(--ease); }
@keyframes hFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.h-quote__slide blockquote { margin: 0; font-weight: 500; letter-spacing: -.015em; line-height: 1.45; font-size: clamp(18px, 2vw, 30px); }
.h-quote__slide figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.h-quote__slide figcaption img, .h-quote__sign img { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; flex-shrink: 0; }
.h-quote__initial { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: 16px; }
.h-quote__sign { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.h-quote__sign b { display: block; font-weight: 500; font-size: 16px; }
.h-quote__sign em { display: block; font-style: normal; color: var(--brand); font-size: 14px; }
.h-quote__slide figcaption b { display: block; font-weight: 500; font-size: 16px; }
.h-quote__slide figcaption em { display: block; font-style: normal; color: var(--brand); font-size: 14px; }
.h-quote__tabs { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-top: 1px solid var(--line); background: var(--surface-2); }
.h-quote__tabs button { position: relative; display: grid; place-items: center; height: 64px; padding: 0 12px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background-color .25s; }
@media (min-width: 1024px) { .h-quote__tabs button { height: 72px; font-size: 17px; } }
.h-quote__tabs button + button { border-left: 1px solid var(--line); }
.h-quote__tabs button::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--brand); transform: scaleX(0); transition: transform .4s var(--ease); }
.h-quote__tabs button.is-active::before { transform: scaleX(1); }
.h-quote__tabs button:hover { background: var(--surface); }
.h-quote__tabs img { max-height: 28px; width: auto; }
.h-quote__tab { position: relative; display: grid; place-items: center; height: 64px; padding: 0 12px; font-weight: 600; font-size: 15px; color: var(--ink-2); text-align: center; }
@media (min-width: 1024px) { .h-quote__tab { height: 72px; font-size: 17px; } }
.h-quote__tab + .h-quote__tab { border-left: 1px solid var(--line); }
.h-quote__tab::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--brand); transform: scaleX(0); transition: transform .4s var(--ease); }
.h-quote__tab.is-active::before { transform: scaleX(1); }
.h-quote__tab img { max-height: 28px; width: auto; }
.h-quote__invite-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.h-quote__admin { margin-top: 24px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 13px; line-height: 1.5; }
.h-quote__admin a { color: var(--brand); }

/* ---------- Top picks ---------- */
.h-picks { display: grid; gap: 28px 20px; }
@media (min-width: 640px) { .h-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .h-picks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; } }
.h-pick__media { overflow: hidden; border-radius: 8px; aspect-ratio: 4 / 3; background: var(--surface-2); }
.h-pick__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.h-pick:hover .h-pick__media img { transform: scale(1.05); }
.h-pick p { margin-top: 12px; color: var(--ink-2); font-size: clamp(14px, 1.05vw, 16px); }
.h-pick:hover p { color: var(--brand); }

/* ---------- FAQ ---------- */
.h-faq { display: grid; gap: 32px; }
@media (min-width: 900px) { .h-faq { grid-template-columns: minmax(0, 400fr) minmax(0, 820fr); gap: 48px; align-items: start; } .h-faq__side { position: sticky; top: 112px; } }
.h-faq__side { display: flex; flex-direction: column; gap: 12px; }
.h-faq__more { margin-top: 12px; color: var(--muted); font-size: clamp(14px, 1.1vw, 17px); }
.h-faq__more a { color: var(--brand); }
.h-faq__list { display: grid; gap: 14px; }
.h-faq__item { border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); transition: background-color .3s; }
.h-faq__item[open] { background: var(--surface); }
.h-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 500; font-size: clamp(15px, 1.25vw, 19px); }
.h-faq__item summary::-webkit-details-marker { display: none; }
.h-faq__item summary i { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.h-faq__item summary i::before, .h-faq__item summary i::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.h-faq__item summary i::after { transform: rotate(90deg); }
.h-faq__item[open] summary i::after { transform: rotate(0deg); }
.h-faq__answer { padding: 0 22px 22px; color: var(--ink-2); opacity: .85; font-size: clamp(14px, 1.1vw, 17px); line-height: 1.65; }

@media (prefers-reduced-motion: reduce) {
  .h-reel__row { animation: none; }
  .h-rot__ch { animation: none !important; }
  .h-statement .w { color: var(--ink); }
}

/* Baris klien di kartu testimoni lebih ringkas di HP */
@media (max-width: 639px) {
  .h-quote__tab, .h-quote__tabs button { height: 56px; padding: 0 6px; font-size: 11px; line-height: 1.2; }
  .h-quote__tab img, .h-quote__tabs img { max-height: 18px; }
}

/* Label untuk contoh testimoni (hanya tampil di localhost) */
.h-quote__demo { margin: -16px 0 20px; padding: 10px 14px; border-radius: 12px; border: 1px dashed var(--line-strong); background: var(--brand-soft); color: var(--ink-2); font-size: 13px; line-height: 1.5; }

/* Inisial profil testimoni di bukti sosial hero (bila tidak ada foto) */
.h-proof__initial { display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.h-proof__initial svg { width: 18px; height: 18px; }
