/* AS-ADS Cetak Desain v2 — UI dari Figma "Digital Marketing Agency (Community)", frame Landing page (65:183). */
:root {
  --bg: #fefae0;            /* Figma Color Theme/Background */
  --peach: #fee0b9;         /* Figma secondary color */
  --cream-line: #fffce8;    /* Figma bordercolor */
  --ink: #0a0a0a;           /* Figma Cod Gray */
  --ink-2: #121212;
  --muted: rgba(13, 13, 13, 0.62); /* Figma Cod Gray 56%, sedikit dinaikkan agar kontras ≥ 4.5:1 */
  --soft: #4d4d4d;          /* Figma Tundora */
  --line: rgba(13, 13, 13, 0.12);
  --pink: #ff5fa8;
  --orange: #ffa66b;
  --red: #b72832;           /* merah logo AS-ADS, untuk aksen kecil */
  --footer: #3d3d3d;
  --container: 1200px;
  --radius: 24px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-weight: 500; font-size: 16px; line-height: 1.6; letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 32px, 988px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 16px; }
.preview-bar { position: relative; z-index: 60; background: #f5c84c; color: #1a1300; font-size: 13px; text-align: center; padding: 6px 16px; }

/* ---------- Latar gradien bergerak (Figma: elips "Eclipse/Planet" pink-oranye) ---------- */
.bg-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob--1 { width: 70vmax; height: 70vmax; right: -30vmax; top: -10vmax; background: radial-gradient(closest-side, rgba(255, 95, 168, .55), rgba(255, 166, 107, .28) 55%, transparent); animation: drift-1 26s var(--ease-soft) infinite alternate; }
.blob--2 { width: 60vmax; height: 60vmax; left: -28vmax; top: 30vh; background: radial-gradient(closest-side, rgba(255, 166, 107, .45), rgba(255, 210, 160, .25) 60%, transparent); animation: drift-2 32s var(--ease-soft) infinite alternate; }
.blob--3 { width: 50vmax; height: 50vmax; right: 10vmax; bottom: -30vmax; background: radial-gradient(closest-side, rgba(255, 95, 168, .35), transparent 70%); animation: drift-3 38s var(--ease-soft) infinite alternate; }
@keyframes drift-1 { to { transform: translate3d(-12vmax, 14vmax, 0) scale(1.1); } }
@keyframes drift-2 { to { transform: translate3d(14vmax, -10vmax, 0) scale(.92); } }
@keyframes drift-3 { to { transform: translate3d(-16vmax, -12vmax, 0) scale(1.15); } }

/* ---------- Tombol (Figma Primary Button / Secondary Button) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 9px 18px 11px; border-radius: 12px; font-size: 15.25px; line-height: 24px; letter-spacing: -0.32px;
  text-decoration: none; white-space: nowrap; cursor: pointer; border: 1px solid transparent;
  transition: transform .35s var(--ease), background-color .25s, box-shadow .35s var(--ease), color .25s;
}
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 0 0 1px rgba(255, 69, 51, .12); }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10, 10, 10, .22); }
.btn--outline { border-color: var(--ink-2); color: var(--ink); background: rgba(254, 250, 224, .4); backdrop-filter: blur(5px); }
.btn--outline:hover { transform: translateY(-2px); background: var(--ink); color: #fff; }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { min-height: 36px; padding: 4px 13px 6px; border-radius: 10px; font-size: 13.344px; letter-spacing: -0.28px; }
.btn__icon { flex: none; }

/* ---------- Header pil mengambang (Figma Nav) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; display: flex; justify-content: center; padding: 24px 16px; pointer-events: none; transition: padding .45s var(--ease); }
.nav-pill {
  pointer-events: auto; display: flex; align-items: center; gap: 28px; min-height: 60px; padding: 12px 12px 12px 16px;
  border-radius: 12px; background: rgba(254, 250, 224, .88); border: 1px solid rgba(255, 255, 255, .5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 4px 12px rgba(245, 240, 205, .22);
  transition: box-shadow .45s var(--ease), background-color .45s, min-height .45s var(--ease);
}
.site-header.is-scrolled { padding-top: 12px; }
.site-header.is-scrolled .nav-pill { min-height: 54px; background: rgba(254, 250, 224, .95); box-shadow: 0 10px 30px rgba(120, 70, 40, .12); }
.brand img { height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav ul a { position: relative; display: block; padding: 8px 12px; border-radius: 8px; font-size: 13.125px; line-height: 14px; letter-spacing: -0.28px; text-decoration: none; transition: background-color .25s; }
.site-nav ul a:hover { background: rgba(254, 224, 185, .7); }
.site-nav ul a[aria-current="page"] { background: var(--peach); }
.nav-toggle { display: none; }

/* ---------- Label pil (Figma Background+OverlayBlur) ---------- */
.badge { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 12px; font-size: 13px; line-height: 16px; letter-spacing: -0.28px; background: rgba(254, 250, 224, .5); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 2px 10px rgba(124, 124, 124, .06); backdrop-filter: blur(6px); }
.chip { display: inline-flex; align-items: center; padding: 9px 11px; border-radius: 6px; background: var(--cream-line); font-size: 15.25px; line-height: 22.4px; letter-spacing: -0.32px; color: var(--ink); }
.chip--outline { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: 12px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding: 92px 0 120px; text-align: center; }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__title { max-width: 820px; font-size: clamp(40px, 4.6vw + 6px, 60px); line-height: 1.2; letter-spacing: -0.04em; font-weight: 500; text-wrap: balance; }
.hero__title em { font-size: 1.34em; line-height: 0; }
.hero__text { max-width: 629px; margin-top: 24px; font-size: 18.438px; line-height: 30px; letter-spacing: -0.4px; }
.hero__meta { display: inline-flex; align-items: center; gap: 10px; margin-top: 36px; font-size: 14.75px; color: var(--muted); }
.hero__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(183, 40, 50, .4); animation: pulse 2.4s var(--ease-soft) infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(183, 40, 50, 0); } 100% { box-shadow: 0 0 0 0 rgba(183, 40, 50, 0); } }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 26px; }
.hero__actions--404 { justify-content: flex-start; padding-bottom: 120px; gap: 12px; }

/* ---------- Strip berjalan (pengganti "Trusted by companies") ---------- */
.marquee { padding: 28px 0 40px; border-bottom: 1px solid var(--line); }
.marquee__label { text-align: center; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 28px; }
.marquee__track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__row { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__item { font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.04em; white-space: nowrap; color: #3a3a3a; }
.marquee__item--serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.marquee__dot { color: var(--red); font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section umum ---------- */
.section { padding: 120px 0; }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 64px; }
.section-title { margin-top: 24px; font-size: clamp(36px, 3.6vw + 8px, 60px); line-height: 1.2; letter-spacing: -0.04em; font-weight: 500; text-wrap: balance; }
.section-title em { font-size: 1.07em; }
.section-title--left { text-align: left; }
.section-intro { max-width: 600px; margin-top: 20px; font-size: 18.438px; line-height: 30px; letter-spacing: -0.4px; }
.section-intro--left { text-align: left; }
.text-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-underline-offset .3s var(--ease); }
.text-link:hover { text-underline-offset: 7px; }

/* ---------- Kartu langkah (Figma "What we do!" Card List) ---------- */
.step-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step-card { background: var(--peach); border-radius: 20px; padding: 49px 8px 11px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.step-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(200, 120, 60, .16); }
.step-card__inner { position: relative; display: flex; flex-direction: column; min-height: 284px; padding: 17px 13px 20px; background: var(--bg); border-radius: 16px; }
.step-card__num { display: grid; place-items: center; width: 34px; height: 35px; border: 1px solid var(--ink); border-radius: 50%; font-size: 15px; letter-spacing: -0.4px; }
.step-card__title { margin-top: auto; font-size: 18.75px; line-height: 30px; letter-spacing: -0.4px; font-weight: 500; }
.step-card__text { margin-top: 6px; font-size: 13.234px; line-height: 21px; letter-spacing: -0.28px; color: var(--muted); }

/* ---------- Kalimat besar (Figma "Not sure where to start") ---------- */
.statement { padding: 40px 0 40px; }
.statement__text { max-width: 1080px; margin-inline: auto; text-align: center; font-size: clamp(30px, 3.4vw + 6px, 48px); line-height: 1.22; letter-spacing: -0.04em; text-wrap: balance; }
.statement__text em { font-size: 1.1em; }
.statement .word { transition: opacity .2s linear; }

/* ---------- Portofolio carousel (Figma "Results") ---------- */
.container--bleed { width: min(100% - 32px, 1280px); }
.carousel { position: relative; }
.carousel__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 20px 4px 28px; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel .work-card { flex: 0 0 min(419px, 82vw); scroll-snap-align: start; }
.carousel__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 18px; cursor: pointer; transition: transform .35s var(--ease), opacity .25s; }
.round-btn:hover { transform: scale(1.08); }
.round-btn:disabled { opacity: .3; cursor: default; transform: none; }
.works__more { display: flex; justify-content: center; margin-top: 40px; }

.work-card { background: rgba(254, 250, 224, .64); border: 2px solid var(--cream-line); border-radius: var(--radius); padding: 32px; box-shadow: 6px 4px 37px rgba(124, 124, 124, .05); backdrop-filter: blur(8px); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.work-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(170, 90, 60, .16); }
.work-card figure { display: flex; flex-direction: column; gap: 16px; }
.work-card__media { position: relative; aspect-ratio: 355 / 255; border-radius: 12px; overflow: hidden; background: var(--peach); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.06); }
.work-card figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.work-card__title { font-size: 16px; line-height: 1.4; }
.work-card__desc { font-size: 13px; color: var(--muted); }
.sample-badge { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 6px 10px; border-radius: 8px; background: #f5c84c; color: #1a1300; font-size: 12px; text-align: center; }

.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter__btn { padding: 9px 18px; border-radius: 12px; border: 1px solid var(--ink-2); background: transparent; cursor: pointer; font-size: 14px; transition: background-color .3s, color .3s; }
.filter__btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.empty-state { max-width: 560px; margin: 0 auto; padding: 40px; text-align: center; background: var(--peach); border-radius: var(--radius); }
.empty-state__title { font-size: 22px; margin-bottom: 8px; }

/* ---------- Kartu layanan (Figma "How can we help you?") ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1000px; margin-inline: auto; }
.svc-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 212px; padding: 40px 32px; border-radius: var(--radius); border: 1px solid var(--cream-line); background: var(--peach); text-align: center; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(200, 90, 80, .18); }
.svc-card--wide { grid-column: 1 / -1; }
.svc-card__glow { position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 95, 168, .7), rgba(255, 166, 107, .3) 60%, transparent); top: -240px; right: -120px; transition: transform 1.2s var(--ease); }
.svc-card--desain-grafis .svc-card__glow { right: auto; left: -140px; }
.svc-card__glow--2 { top: auto; bottom: -260px; right: auto; left: -60px; }
.svc-card:hover .svc-card__glow { transform: translate3d(-30px, 40px, 0) scale(1.15); }
.svc-card:hover .svc-card__glow--2 { transform: translate3d(40px, -30px, 0) scale(1.15); }
.svc-card__title { font-size: clamp(30px, 2.6vw + 8px, 38.7px); line-height: 1.3; letter-spacing: -0.055em; font-weight: 500; color: #222; }
.svc-card__text { max-width: 400px; margin-top: 18px; font-size: 13.344px; line-height: 21px; letter-spacing: -0.28px; color: var(--soft); }
.svc-card__link { margin-top: 20px; font-size: 14px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.svc-card__link span { display: inline-block; transition: transform .35s var(--ease); }
.svc-card__link:hover span { transform: translateX(4px); }

/* ---------- Baris pertanyaan (Figma "Awards for standing out") ---------- */
.questions .section-head { margin-bottom: 40px; }
.q-list { border-top: 1px solid var(--line); }
.q-row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 24px; padding: 40px 8px; border-bottom: 1px solid var(--line); transition: padding .45s var(--ease), background-color .45s; }
.q-row:hover { padding-left: 24px; padding-right: 24px; background: rgba(254, 224, 185, .45); }
.q-row__num { font-size: 15px; }
.q-row__text { font-size: clamp(17px, 1.2vw + 8px, 20px); font-weight: 600; letter-spacing: -0.02em; }

/* ---------- Kotak penutup (Figma "Ready to scale your brand") ---------- */
.closing { padding: 40px 0 120px; }
.closing__box { max-width: 1000px; margin-inline: auto; padding: 48px 32px 56px; text-align: center; background: var(--peach); border: 1px solid rgba(13, 13, 13, .48); border-radius: var(--radius); }
.closing__title { max-width: 560px; margin-inline: auto; font-size: clamp(36px, 3.4vw + 10px, 57px); line-height: 1.26; letter-spacing: -0.042em; font-weight: 500; text-wrap: balance; }
.closing__title em { font-size: 1.05em; }
.closing__text { max-width: 590px; margin: 22px auto 0; font-size: 18.75px; line-height: 30px; letter-spacing: -0.4px; color: var(--muted); }
.closing__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 26px; }
.closing__contact a { font-size: 16px; text-decoration: underline; text-underline-offset: 4px; transition: text-underline-offset .3s var(--ease); }
.closing__contact a:hover { text-underline-offset: 7px; }

/* ---------- Page hero (halaman dalam) ---------- */
.page-hero { padding: 72px 0 40px; }
.page-hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.page-hero__title { max-width: 860px; margin-top: 24px; font-size: clamp(38px, 4vw + 8px, 64px); line-height: 1.18; letter-spacing: -0.04em; font-weight: 500; text-wrap: balance; }
.page-hero__title em { font-size: 1.1em; }
.page-hero__intro { max-width: 620px; margin-top: 20px; font-size: 18.438px; line-height: 30px; letter-spacing: -0.4px; }

/* ---------- Detail layanan ---------- */
.services--page { padding-top: 40px; padding-bottom: 40px; }
.detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.detail__body { display: flex; flex-direction: column; align-items: flex-start; }
.detail__media { border-radius: var(--radius); overflow: hidden; background: #0b0b0b; border: 2px solid var(--cream-line); box-shadow: 0 30px 60px rgba(150, 80, 50, .14); }
.detail__media img { width: 100%; height: auto; }
.note-card { margin-top: 32px; width: 100%; padding: 28px; border-radius: 20px; background: var(--peach); }
.note-card__title { font-size: 18px; font-weight: 600; margin-bottom: 14px; }
.note-card ul { display: grid; gap: 10px; }
.note-card li { position: relative; padding-left: 22px; color: var(--soft); }
.note-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.note-card__foot { margin-top: 16px; font-size: 14px; color: var(--muted); }
.detail__aside { margin-top: 28px; padding: 16px 20px; border-radius: 14px; background: rgba(254, 224, 185, .6); border-left: 3px solid var(--red); color: var(--soft); }
.tags-title { margin-top: 88px; margin-bottom: 24px; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.tag-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tag-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px; background: rgba(254, 250, 224, .64); border: 2px dashed rgba(13, 13, 13, .16); transition: transform .5s var(--ease), border-color .4s, background-color .4s; }
.tag-card:hover { transform: translateY(-6px) rotate(-.6deg); border-color: var(--red); background: var(--bg); }
.tag-card__num { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--red); }
.tag-card__text { font-size: 15px; line-height: 1.5; color: var(--soft); }

/* ---------- Tentang & kontak ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about__text { display: grid; gap: 18px; font-size: 18px; line-height: 1.7; color: var(--soft); }
.contact { padding-top: 40px; }
.contact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-card { display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: var(--radius); background: var(--peach); border: 1px solid var(--cream-line); text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
a.contact-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(200, 90, 80, .18); }
.contact-card__label { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-card__value { font-size: clamp(22px, 1.6vw + 10px, 28px); letter-spacing: -0.04em; word-break: break-word; }
.contact-card__value--sm { font-size: 20px; line-height: 1.4; }
.contact-card__hint { font-size: 14px; color: var(--soft); }

/* ---------- Footer (Figma: #3D3D3D 81%) ---------- */
.site-footer { position: relative; background: rgba(61, 61, 61, .94); color: #f9fafb; backdrop-filter: blur(2px); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; padding: 64px 0 48px; }
.footer-logo img { height: 52px; width: auto; }
.site-footer__about > p { margin-top: 20px; max-width: 390px; font-size: 15.25px; line-height: 24px; letter-spacing: -0.32px; }
.footer-contact { display: grid; gap: 10px; margin-top: 24px; font-size: 14px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact span { min-width: 84px; color: rgba(249, 250, 251, .6); }
.footer-contact a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__links { display: flex; justify-content: flex-end; gap: 64px; }
.footer-title { font-size: 15px; font-weight: 500; margin-bottom: 15px; }
.site-footer__links ul { display: grid; gap: 14px; font-size: 13px; }
.site-footer__links a { text-decoration: none; color: rgba(249, 250, 251, .85); transition: color .25s; }
.site-footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0 28px; font-size: 13px; color: rgba(249, 250, 251, .7); }

/* =========================================================
   Animasi
   ========================================================= */
/* Perpindahan halaman: View Transitions lintas dokumen. Header & latar tetap diam. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.bg-blobs { view-transition-name: bg; }
::view-transition-group(root) { animation-duration: .6s; }
::view-transition-old(root) { animation: vt-out .32s var(--ease-soft) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) .08s both; }
@keyframes vt-out { to { opacity: 0; filter: blur(6px); transform: translateY(-12px) scale(.995); } }
@keyframes vt-in { from { opacity: 0; filter: blur(8px); transform: translateY(24px); } }
@supports not (view-transition-name: none) {
  main { animation: vt-in .7s var(--ease) both; }
}

/* Judul hero: kata demi kata muncul dengan blur (diaktifkan main.js) */
.js [data-split] .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.35em); animation: word-in .9s var(--ease) forwards; animation-delay: calc(var(--w) * 70ms + 120ms); }
.js [data-split] em.w { padding-right: .06em; }
@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }
.js [data-hero-fade] { opacity: 0; transform: translateY(16px); animation: fade-up .9s var(--ease) forwards; animation-delay: var(--d, .55s); }
@keyframes fade-up { to { opacity: 1; transform: none; } }

/* Muncul saat di-scroll */
.js [data-reveal] { opacity: 0; filter: blur(6px); transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; filter: blur(0); transform: none; }
.js [data-reveal].is-done { transition: transform .5s var(--ease), box-shadow .5s var(--ease), padding .45s var(--ease), background-color .45s, border-color .4s; transition-delay: 0s; }

/* Kartu portofolio saat filter */
.work-card[hidden] { display: none; }
.work-card.is-filtered-in { animation: card-in .55s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }

/* ---------- Responsif ---------- */
@media (max-width: 1080px) {
  .step-list, .tag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .site-header { padding: 12px; }
  .nav-pill { width: 100%; justify-content: space-between; position: relative; }
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--peach); cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .35s var(--ease); }
  .nav-toggle__bars::before { position: absolute; top: -6px; }
  .nav-toggle__bars::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(254, 250, 224, .97); box-shadow: 0 20px 40px rgba(120, 70, 40, .16); transform-origin: top center; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; }
  .js .site-nav:not(.is-open) { opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 14px 12px; font-size: 16px; }
  .site-nav .btn { width: 100%; }
  .detail__grid, .about__grid, .site-footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .detail__grid--reverse .detail__media { order: 2; }
  .contact__grid { grid-template-columns: 1fr; }
  .site-footer__links { justify-content: flex-start; }
  .section { padding: 88px 0; }
}
@media (max-width: 600px) {
  .hero { padding: 56px 0 80px; }
  .hero__actions { gap: 12px; width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .step-list, .tag-grid, .work-grid, .svc-grid { grid-template-columns: 1fr; }
  .svc-card--wide { grid-column: auto; }
  .q-row { grid-template-columns: 36px 1fr; padding: 28px 4px; }
  .q-row .chip { grid-column: 2; justify-self: start; }
  .work-card { padding: 20px; }
  .closing__box { padding: 40px 20px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .site-footer__links { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  @view-transition { navigation: none; }
  .js [data-reveal], .js [data-split] .w, .js [data-hero-fade] { opacity: 1 !important; filter: none !important; transform: none !important; }
  .blob { animation: none; }
}
