/* ==========================================================================
   site.css — gaya tunggal untuk semua halaman portfolio semasa
   (index.html, development.html, projects.html).

   Prinsip:
   - Ringan: tiada library, tiada kabur (blur) besar yang dikira semula setiap
     bingkai. Animasi hanya guna transform/opacity (dikendalikan GPU).
   - Animasi berterusan (gradien hero, cincin potret, cip terapung, jalur
     teknologi) DIJEDA bila keluar dari skrin melalui kelas .is-paused yang
     ditetapkan oleh site.js, dan dimatikan sepenuhnya untuk "kurangkan gerakan".
   - Mesra semua umur: teks 17px, kontras ≥ 4.5:1, butang ≥ 44px.

   Susunan fail:
     01 Token reka bentuk (warna, gradien, saiz) + tema gelap
     02 Asas (reset ringan, tipografi, pautan, fokus)
     03 Susun atur & tajuk seksyen
     04 Header, navigasi & bar kemajuan skrol
     05 Butang, cip, lencana
     06 Hero (latar gelap beranimasi, potret, statistik)
     07 Jalur teknologi (marquee)
     08 Kad: nilai, servis, proses, projek, kajian kes
     09 Pengalaman, kemahiran, pendidikan
     10 Di luar kerja (travel) & hubungi
     11 Footer, lightbox, butang ke atas
     12 Animasi (keyframes, reveal, jeda) & cetak
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 · TOKEN REKA BENTUK
   -------------------------------------------------------------------------- */
:root {
  --bg: #f6f7fb;            /* latar halaman */
  --bg-tint: #eef1fb;       /* latar seksyen selang-seli */
  --surface: #ffffff;       /* latar kad */
  --surface-2: #f1f4fa;     /* latar lembut (cip, fakta) */
  --line: #e0e5ef;          /* garis sempadan */
  --text: #0f172a;          /* teks utama */
  --muted: #475569;         /* teks kedua (kontras 7:1 atas putih) */
  --brand: #4f46e5;         /* indigo: pautan & aksen utama */
  --brand-strong: #4338ca;
  --brand-soft: #eef0ff;
  --violet: #7c3aed;
  --cyan: #0e7490;          /* cyan gelap untuk teks (kontras AA) */
  --ok: #059669;            /* status "Live" / "Open to work" */
  --warn: #b45309;          /* status "In development" */
  --grad: linear-gradient(120deg, #4f46e5 0%, #7c3aed 50%, #0891b2 100%);
  --grad-btn: linear-gradient(120deg, #4f46e5, #7c3aed);
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .06), 0 18px 40px rgba(79, 70, 229, .14);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1140px;
  --gutter: 16px;
  --header-h: 64px;
  --section-y: 56px;        /* jarak atas/bawah seksyen (padat tetapi lega) */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

/* Tema gelap: nilai yang sama digunakan untuk tetapan peranti & pilihan manual. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0f1f; --bg-tint: #0d1430; --surface: #121a33; --surface-2: #19223f; --line: #27314f;
    --text: #e8ecf7; --muted: #a7b1c9; --brand: #a5b4fc; --brand-strong: #c7d2fe; --brand-soft: #1d2352;
    --violet: #c4b5fd; --cyan: #67e8f9; --ok: #34d399; --warn: #fbbf24;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px rgba(0, 0, 0, .3);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 18px 40px rgba(99, 102, 241, .22);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0f1f; --bg-tint: #0d1430; --surface: #121a33; --surface-2: #19223f; --line: #27314f;
  --text: #e8ecf7; --muted: #a7b1c9; --brand: #a5b4fc; --brand-strong: #c7d2fe; --brand-soft: #1d2352;
  --violet: #c4b5fd; --cyan: #67e8f9; --ok: #34d399; --warn: #fbbf24;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px rgba(0, 0, 0, .3);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 18px 40px rgba(99, 102, 241, .22);
  color-scheme: dark;
}

/* Butang "Aa" membesarkan semua teks ~12% (rem) untuk pelawat yang perlukan teks besar. */
:root[data-text="large"] { font-size: 112.5%; }

@media (min-width: 900px) {
  :root { --gutter: 24px; --section-y: 76px; }
}

/* --------------------------------------------------------------------------
   02 · ASAS
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.18; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
/* Jarak antara item hanya untuk senarai teks biasa (senarai berkelas ialah grid/cip). */
:where(ul, ol):not([class]) > li + li { margin-top: .35em; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
code { font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 6px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Teks bergradien (tajuk & angka). Warna padu sebagai sandaran. */
.grad-text {
  color: var(--brand);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
:root[data-theme="dark"] .grad-text { background: linear-gradient(120deg, #a5b4fc, #c4b5fd 50%, #67e8f9); -webkit-background-clip: text; background-clip: text; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .grad-text { background: linear-gradient(120deg, #a5b4fc, #c4b5fd 50%, #67e8f9); -webkit-background-clip: text; background-clip: text; }
}

/* --------------------------------------------------------------------------
   03 · SUSUN ATUR & TAJUK SEKSYEN
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--bg-tint); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; }
.section-head--row > div { max-width: 700px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad); }
.section-head--center .eyebrow::after { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad); }
.lead { font-size: 1.125rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.grid { display: grid; gap: 18px; }
@media (min-width: 700px) {
  .grid--2, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
/* Kad interaktif terangkat sedikit bila dihover (desktop sahaja). */
@media (hover: hover) {
  .card--lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
}

/* --------------------------------------------------------------------------
   04 · HEADER, NAVIGASI & BAR KEMAJUAN
   -------------------------------------------------------------------------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 94%, transparent); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.05rem; }
.brand:hover { color: var(--text); }
.brand__mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad); color: #fff; font-size: .9rem; letter-spacing: .02em; box-shadow: 0 4px 12px rgba(79, 70, 229, .35);
}
.brand__status { display: none; }

.nav { display: none; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.nav a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 8px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover { color: var(--brand); }
.nav a:hover::after, .nav a.is-active::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a.is-active, .nav a[aria-current="page"] { color: var(--brand); }

.header-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 11px; background: var(--surface);
  color: var(--text); cursor: pointer; font: 800 .95rem var(--font); text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--brand); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn[aria-pressed="true"] { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.theme-icon--sun { display: none; }
:root[data-theme="dark"] .theme-icon--sun { display: block; }
:root[data-theme="dark"] .theme-icon--moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-icon--sun { display: block; }
  :root:not([data-theme="light"]) .theme-icon--moon { display: none; }
}
.btn.header-cv { display: none; }

.mobile-nav { border-top: 1px solid var(--line); background: var(--surface); padding: 8px var(--gutter) 16px; }
.mobile-nav a:not(.btn) {
  display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 10px;
  color: var(--text); font-weight: 600; text-decoration: none; font-size: 1.05rem;
}
.mobile-nav a:not(.btn):hover, .mobile-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
.mobile-nav .btn { width: 100%; margin-top: 10px; }

@media (min-width: 1040px) {
  .nav { display: flex; gap: 0; }
  .menu-btn, .mobile-nav { display: none !important; }
  .btn.header-cv { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   05 · BUTANG, CIP & LENCANA
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 20px; border-radius: 12px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(2px); }
.btn--primary { background: var(--grad-btn); color: #fff; box-shadow: 0 6px 18px rgba(79, 70, 229, .3); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(79, 70, 229, .38); }
.btn--outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--outline:hover { background: var(--brand-soft); color: var(--brand); }
.btn--ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { min-height: 44px; padding: 8px 14px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tag {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  background: var(--surface-2); color: var(--text); font-size: .85rem; font-weight: 600; line-height: 1.5;
  border: 1px solid transparent;
}
.tag--key { background: var(--brand-soft); color: var(--brand); border-color: color-mix(in srgb, var(--brand) 25%, transparent); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; background: var(--surface-2); color: var(--muted);
}
.badge--live { background: var(--brand-soft); background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.badge--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--dev { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }

/* Titik "aktif" yang berdenyut (Open to work / Live). */
.pulse { position: relative; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; flex: none; }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22c55e;
  animation: pulse 2s ease-out infinite;
}

/* --------------------------------------------------------------------------
   06 · HERO — latar gelap tetap (kedua-dua tema) dengan gradien bergerak.
   Pemboleh ubah warna ditulis semula di dalam hero supaya komponen biasa
   (butang, cip) automatik berwarna terang.
   -------------------------------------------------------------------------- */
.hero {
  --text: #f4f6ff; --muted: #c0c8e0; --line: rgba(255, 255, 255, .14); --surface: rgba(255, 255, 255, .06);
  --surface-2: rgba(255, 255, 255, .1); --brand: #c7d2fe; --brand-soft: rgba(165, 180, 252, .16);
  position: relative; overflow: hidden; isolation: isolate;
  background: #090e24; color: var(--text);
  padding-block: 44px 36px;
}
/* Lapisan latar: tiga "gumpalan" warna (radial-gradient, tiada filter blur) + corak grid halus. */
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; opacity: .55; will-change: transform; }
.blob--1 { width: 620px; height: 620px; left: -180px; top: -220px; background: radial-gradient(circle, #4f46e5 0%, transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.blob--2 { width: 560px; height: 560px; right: -160px; top: 10%; background: radial-gradient(circle, #7c3aed 0%, transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.blob--3 { width: 520px; height: 520px; left: 30%; bottom: -320px; background: radial-gradient(circle, #0891b2 0%, transparent 65%); animation: drift3 20s ease-in-out infinite alternate; }
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero a:not(.btn) { color: #c7d2fe; }

.hero__layout { display: grid; gap: 28px; align-items: center; }
.open-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .35); color: #bbf7d0;
  font-size: .9rem; font-weight: 700; margin-bottom: 18px;
}
.hero h1 { margin-bottom: 12px; }
.hero h1 .grad-text { background: linear-gradient(110deg, #a5b4fc, #e9d5ff 45%, #67e8f9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #c7d2fe; }
.hero__role { font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); font-weight: 700; margin-bottom: 14px; color: var(--muted); }
.rotator { display: inline-block; color: #fff; min-width: 9.5em; }
.rotator__word { display: inline-block; transition: opacity .3s ease, transform .3s ease; border-bottom: 3px solid #818cf8; }
.rotator__word.is-out { opacity: 0; transform: translateY(-10px); }
.rotator__word.is-in { opacity: 0; transform: translateY(10px); }
.hero .lead { color: var(--muted); max-width: 620px; }
.hero .btn--ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #fff; }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero .btn--outline { border-color: #a5b4fc; color: #e0e7ff; }
.hero .btn--outline:hover { background: rgba(165, 180, 252, .14); color: #fff; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 18px; color: var(--muted); font-size: .95rem; }
.hero__meta .icon-btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #e0e7ff; }
.hero__meta .icon-btn:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.hero__place { display: inline-flex; align-items: center; gap: 6px; }
.hero__place svg { width: 18px; height: 18px; }

/* Potret: bulatan dengan cincin gradien berputar + cip kemahiran terapung. */
.portrait { position: relative; width: min(260px, 66vw); aspect-ratio: 1; margin: 6px auto 4px; }
.portrait__ring {
  position: absolute; inset: -7px; border-radius: 50%;
  background: conic-gradient(from 0deg, #6366f1, #a855f7, #22d3ee, #6366f1);
  animation: spin 14s linear infinite;
}
.portrait__photo {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #3b3f8f 0%, #1a1f4d 60%, #10143a 100%);
  border: 4px solid #090e24;
}
.portrait__photo img { position: absolute; left: 50%; bottom: -6%; width: 86%; transform: translateX(-50%); }
/* Foto biasa (bukan potongan lutsinar): penuhi bulatan. */
.portrait__photo--full img { inset: 0; left: 0; bottom: auto; width: 100%; height: 100%; object-fit: cover; transform: none; }
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: rgba(15, 20, 50, .82); border: 1px solid rgba(165, 180, 252, .35); color: #eef2ff;
  font-size: .8rem; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
  animation: bob 6s ease-in-out infinite;
}
.float-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, #818cf8); }
.float-chip--1 { top: 4%; left: -14%; }
.float-chip--2 { top: 36%; right: -20%; animation-delay: -2s; }
.float-chip--3 { bottom: 6%; left: -10%; animation-delay: -4s; }
.portrait__caption { text-align: center; margin-top: 16px; font-size: .9rem; color: var(--muted); }
.portrait__caption b { display: block; color: #fff; font-size: 1rem; }

/* Statistik dengan kiraan naik. */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.stat {
  padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
}
.stat b { display: block; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.stat span { font-size: .88rem; color: var(--muted); }

@media (min-width: 900px) {
  .hero { padding-block: 72px 48px; }
  .hero__layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; }
  .portrait { width: 300px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; }
}
@media (max-width: 420px) {
  .float-chip--1 { left: -6%; }
  .float-chip--2 { right: -8%; }
  .float-chip--3 { left: -4%; }
}

/* Hero halaman dalam (development/projects): versi pendek hero gelap. */
.page-hero { padding-block: 44px 40px; }
.page-hero h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.8rem); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* --------------------------------------------------------------------------
   07 · JALUR TEKNOLOGI (marquee) — gerak perlahan, berhenti bila dihover.
   -------------------------------------------------------------------------- */
.tech-strip { padding-block: 18px; background: var(--surface); border-bottom: 1px solid var(--line); }
.marquee {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track { display: flex; gap: 10px; padding-right: 10px; margin: 0; list-style: none; flex: none; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); font-weight: 700; font-size: .9rem; white-space: nowrap;
}
.marquee__track li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* --------------------------------------------------------------------------
   08 · KAD: NILAI, SERVIS, PROSES, PROJEK, KAJIAN KES
   -------------------------------------------------------------------------- */
/* Ikon dalam petak gradien. */
.icon-box {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; flex: none;
  background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(79, 70, 229, .28);
}
.icon-box svg { width: 24px; height: 24px; }

/* "What I bring" — kad nilai untuk recruiter. */
/* Ikon & angka sebaris supaya kad lebih padat (terutama di telefon). */
.value { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 14px; }
.value h3 { margin: 4px 0 0; grid-column: 1 / -1; }
.value p { margin: 0; color: var(--muted); grid-column: 1 / -1; }
.value__metric { font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.roles { margin-top: 26px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px dashed color-mix(in srgb, var(--brand) 45%, var(--line)); display: grid; gap: 14px; }
.roles h3 { margin: 0; display: flex; align-items: center; gap: 10px; }
@media (min-width: 900px) { .roles { grid-template-columns: 1fr auto; align-items: center; } }

/* Servis. */
.service { display: flex; flex-direction: column; gap: 12px; }
.service h3 { margin: 0; }
.service p { margin: 0; color: var(--muted); }
.service ul { margin: 0; color: var(--muted); font-size: .95rem; }
.service .tags { margin-top: auto; padding-top: 4px; }

/* Proses dari idea hingga go-live: kad bernombor dengan garis penyambung. */
.process { counter-reset: step; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; position: relative; }
.process li { counter-increment: step; position: relative; padding: 18px 18px 18px 70px; margin: 0; }
.process li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 16px; top: 18px;
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 800; font-size: .9rem;
}
.process b { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.process span { color: var(--muted); font-size: .95rem; display: block; }
.process small { display: block; margin-top: 8px; color: var(--brand); font-weight: 700; font-size: .8rem; letter-spacing: .02em; }
@media (min-width: 700px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .process li { padding: 72px 18px 18px; }
  .process li::before { top: 18px; left: 18px; }
}

/* Kad projek. */
.project { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.project__media {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.project__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
@media (hover: hover) { .project:hover .project__media img { transform: scale(1.04); } }
.project__media--panel { aspect-ratio: auto; min-height: 200px; text-decoration: none; color: var(--text); }
.project__media--panel:hover { color: var(--text); }
.project__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.project__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.project h3 { margin: 0; font-size: 1.2rem; }
.project p { margin: 0; color: var(--muted); }
.project .btn-row { margin-top: auto; padding-top: 6px; }

/* Panel modul untuk sistem admin (tiada screenshot kerana data tetamu). */
.private-panel {
  display: flex; flex-direction: column; justify-content: center; gap: 12px; height: 100%;
  padding: 18px; background: linear-gradient(140deg, var(--brand-soft), var(--surface-2));
}
.private-panel p { margin: 0; font-size: .85rem; font-weight: 600; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.private-panel p svg { width: 16px; height: 16px; flex: none; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.module-grid li {
  padding: 8px 6px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line);
  font-size: .75rem; font-weight: 700; text-align: center; line-height: 1.3;
}
@media (min-width: 420px) { .module-grid li { font-size: .8rem; } }
.private-panel--lg { border-radius: var(--radius-sm); border: 1px solid var(--line); padding: 20px; }
.private-panel--lg .module-grid li { font-size: .85rem; padding: 10px 6px; }

/* Senarai projek lain yang padat. */
.mini-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.mini {
  display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; height: 100%;
  padding: 10px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.mini:hover { border-color: var(--brand); color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow); }
.mini img, .mini__ph { width: 96px; height: 64px; border-radius: 9px; object-fit: cover; object-position: top; background: var(--surface-2); }
.mini__ph { display: grid; place-items: center; color: #fff; background: var(--grad); font-weight: 800; font-size: .8rem; text-align: center; }
.mini b { display: block; line-height: 1.3; }
.mini span { font-size: .85rem; color: var(--muted); }
@media (min-width: 700px) { .mini-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .mini-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Kajian kes penuh. */
.case { padding: 0; overflow: hidden; scroll-margin-top: calc(var(--header-h) + 12px); }
.case + .case { margin-top: 22px; }
.case__head { padding: 22px 22px 0; border-top: 4px solid transparent; border-image: var(--grad) 1; }
.case__head h2, .case__head h3 { margin: 8px 0 4px; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); }
.case__role { color: var(--muted); margin: 0; font-weight: 600; }
.case__grid { display: grid; gap: 20px; padding: 18px 22px 24px; }
.case__body h4 { font-size: 1rem; margin: 18px 0 6px; }
.case__body h4:first-child { margin-top: 0; }
.case__body p, .case__body li { color: var(--muted); }
.case__body ul { margin-bottom: 0; }
.case__aside h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; }
.case__aside > * + h4 { margin-top: 18px; }
@media (min-width: 900px) { .case__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; } }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; }
.facts div { padding: 10px; border-radius: var(--radius-sm); background: var(--surface-2); }
.facts b { display: block; font-size: 1.1rem; line-height: 1.2; color: var(--brand); }
.facts span { font-size: .8rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 2px; }

/* Galeri screenshot. */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.shots--phones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shots--mix { grid-template-columns: 2fr 1fr; }
.shot { margin: 0; }
.shot button {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface-2); overflow: hidden; cursor: zoom-in;
}
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .4s ease; }
.shot button:hover img { transform: scale(1.04); }
.shot--wide { grid-column: 1 / -1; }
.shot--phone img { aspect-ratio: 9 / 16; }
.shots--mix .shot--phone { grid-row: span 2; }
.shots--mix .shot--phone button, .shots--mix .shot--phone img { height: 100%; }
.shots--mix .shot--phone img { aspect-ratio: auto; }
.shot figcaption { font-size: .8rem; color: var(--muted); margin-top: 4px; }

/* Penapis kategori (projects.html). */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button {
  min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: 600 .95rem var(--font); cursor: pointer; transition: all .2s ease;
}
.filters button:hover { border-color: var(--brand); color: var(--brand); }
.filters button[aria-pressed="true"] { background: var(--grad-btn); border-color: transparent; color: #fff; }

/* --------------------------------------------------------------------------
   09 · PENGALAMAN, KEMAHIRAN, PENDIDIKAN
   -------------------------------------------------------------------------- */
/* Garis masa: garis gradien di kiri dengan titik pada setiap kerja. */
.timeline { position: relative; display: grid; gap: 16px; margin: 0; padding: 0 0 0 26px; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--grad); opacity: .5; }
.timeline > li { position: relative; }
.timeline > li::before {
  content: ""; position: absolute; left: -26px; top: 26px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--surface); border: 4px solid var(--brand); box-shadow: 0 0 0 4px var(--bg);
}
.job__head { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.logo { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; object-fit: contain; padding: 4px; }
.logo--text { display: grid; place-items: center; color: #fff; background: var(--grad); font-weight: 800; font-size: .8rem; padding: 0; border: 0; }
.job h3 { margin: 0; font-size: 1.1rem; }
.job__org { margin: 2px 0 0; font-weight: 700; color: var(--brand); }
.job__when { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }
.job ul { margin: 14px 0 0; color: var(--muted); }
.job li::marker { color: var(--violet); }
.job .tags { margin-top: 14px; }

details.more { margin-top: 10px; }
details.more summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer;
  color: var(--brand); font-weight: 700; list-style: none;
}
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before {
  content: "+"; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px;
  background: var(--brand-soft); font-weight: 800; transition: transform .2s ease;
}
details.more[open] summary::before { content: "−"; transform: rotate(180deg); }
details.more ul { margin-top: 4px; }

.skill-group h3 { font-size: 1rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.skill-group h3 .icon-box { width: 34px; height: 34px; border-radius: 10px; }
.skill-group h3 .icon-box svg { width: 18px; height: 18px; }

.edu { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.edu + .edu { margin-top: 16px; }
.edu h4 { margin: 0; font-size: 1rem; }
.edu p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }

.list-clean { margin: 0; padding: 0; list-style: none; }
.cert { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); }
.cert:last-child { border-bottom: 0; }
.cert__year {
  flex: none; min-width: 52px; padding: 2px 8px; border-radius: 8px; text-align: center;
  background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: .85rem;
}
.cert b { display: block; line-height: 1.35; }
.cert span { color: var(--muted); font-size: .9rem; }

/* --------------------------------------------------------------------------
   10 · DI LUAR KERJA (travel) & HUBUNGI
   -------------------------------------------------------------------------- */
.beyond { display: grid; gap: 26px; }
.beyond > div:first-child { max-width: 760px; }
.interests { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
/* Jalur foto travel: polaroid kecil & condong selang-seli — sengaja tidak menonjol.
   Telefon: skrol mendatar (snap); desktop: 5 lajur sebaris. */
.travel-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: 16px;
  overflow-x: auto; padding: 10px 6px 18px; margin-inline: -6px; scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.polaroid {
  margin: 0; padding: 8px 8px 10px; background: #fff; border-radius: 6px; scroll-snap-align: start;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .16); transform: rotate(-2.5deg);
  transition: transform .35s ease, box-shadow .35s ease;
}
.polaroid:nth-child(even) { transform: rotate(2deg); }
.polaroid:hover, .polaroid:focus-within { transform: rotate(0) translateY(-4px); box-shadow: 0 16px 32px rgba(15, 23, 42, .22); }
.polaroid button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 3px; overflow: hidden; }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { margin-top: 6px; text-align: center; color: #334155; font-weight: 700; font-size: .85rem; }
@media (min-width: 900px) {
  .travel-strip { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 170px)); justify-content: start; overflow: visible; }
}

.contact-panel {
  position: relative; overflow: hidden; border-radius: 22px; padding: 30px 22px; color: #fff;
  background: linear-gradient(130deg, #312e81 0%, #4c1d95 50%, #155e75 100%);
  display: grid; gap: 24px;
}
.contact-panel::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 65%); pointer-events: none;
}
.contact-panel h2 { color: #fff; }
.contact-panel p { color: #e0e7ff; }
.contact-panel .btn--primary { background: #fff; color: #312e81; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.contact-panel .btn--primary:hover { color: #312e81; }
.contact-panel .btn--ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); color: #fff; }
.contact-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; position: relative; z-index: 1; }
.contact-list li { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { width: 22px; height: 22px; color: #a5f3fc; flex: none; }
.contact-list a { color: #fff; font-weight: 700; word-break: break-word; }
.contact-list a:hover { color: #a5f3fc; }
.copy-btn {
  min-height: 44px; padding: 6px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .4);
  background: transparent; color: #fff; font: 700 .85rem var(--font); cursor: pointer;
}
.copy-btn:hover { background: rgba(255, 255, 255, .14); }
.copy-status { font-size: .85rem; color: #bbf7d0; min-height: 1.2em; margin: 0; }
@media (min-width: 900px) { .contact-panel { grid-template-columns: 1.15fr 1fr; padding: 44px; align-items: center; } }

/* --------------------------------------------------------------------------
   11 · FOOTER, LIGHTBOX & BUTANG KE ATAS
   -------------------------------------------------------------------------- */
.site-footer { padding-block: 28px; border-top: 1px solid var(--line); background: var(--surface); font-size: .95rem; }
.site-footer .container { display: grid; gap: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--text); font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: var(--brand); }
.site-footer p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .site-footer .container { grid-template-columns: 1fr auto; align-items: center; } }

.lightbox {
  width: min(1100px, 96vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius);
  background: var(--surface); color: var(--text); box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
.lightbox[open] { animation: pop .25s ease; }
.lightbox::backdrop { background: rgba(8, 12, 30, .8); }
.lightbox img { width: 100%; max-height: calc(92vh - 64px); object-fit: contain; background: var(--surface-2); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; }
.lightbox__bar p { margin: 0; font-size: .95rem; font-weight: 600; }

.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--grad-btn); color: #fff; box-shadow: 0 8px 20px rgba(79, 70, 229, .35);
  display: grid; place-items: center; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   12 · ANIMASI
   -------------------------------------------------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes drift1 { to { transform: translate(140px, 90px) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-120px, 70px) scale(.95); } }
@keyframes drift3 { to { transform: translate(-90px, -80px) scale(1.08); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Kandungan hero muncul berperingkat semasa laman dibuka (sekali sahaja). */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-in { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 110ms); }

  /* Reveal semasa skrol: .reveal → .is-in sekali; --i memberi kesan berperingkat. */
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .timeline > li.reveal::before { transform: scale(0); transition: transform .4s .25s cubic-bezier(.3, 1.6, .5, 1); }
  .js .timeline > li.reveal.is-in::before { transform: scale(1); }
}

/* Jeda semua animasi berterusan bila bahagian itu di luar skrin atau tab tersembunyi. */
.is-paused, .is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { flex-wrap: wrap; flex: 1; animation: none; }
  .marquee__track[aria-hidden="true"] { display: none; }
}

@media print {
  .site-header, .to-top, .mobile-nav, .btn-row, .filters, .lightbox, .header-tools, .progress, .tech-strip, .hero__bg, .float-chip { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero, .contact-panel { background: #fff !important; color: #000; }
  .hero *, .contact-panel * { color: #000 !important; -webkit-text-fill-color: #000 !important; }
  .card, .section--tint, .section--surface { box-shadow: none; border-color: #ccc; background: #fff; }
  .section { padding-block: 16px; }
}

/* Senarai semak "Every launch includes" (development.html) dengan tanda ✓ bergradien. */
.checklist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.checklist li::before {
  content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: var(--grad); color: #fff; font-size: .85rem; font-weight: 800;
}
@media (min-width: 700px) { .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .checklist { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* --------------------------------------------------------------------------
   13 · TELEFON: KAD PADAT 2 KOLUM (permintaan pemilik 23 Okt 2026)
   Kad nilai, servis, kemahiran (.grid--m2), langkah proses dan senarai semak
   memakan ruang besar bila 1 kolum. Di bawah 700px ia jadi 2 kolum dengan
   padding, ikon dan teks lebih kecil. Desktop kekal 3–4 kolum.
   Jika pelawat memilih teks besar ("Aa"), kembali 1 kolum supaya mudah dibaca.
   -------------------------------------------------------------------------- */
@media (max-width: 699px) {
  .grid--m2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid--m2 > .card { padding: 14px 12px; border-radius: 14px; }
  .grid--m2 h3 { font-size: .98rem; line-height: 1.25; }
  .grid--m2 p { font-size: .88rem; line-height: 1.5; }
  .grid--m2 .icon-box { width: 36px; height: 36px; border-radius: 10px; }
  .grid--m2 .icon-box svg { width: 19px; height: 19px; }
  .grid--m2 .tags { gap: 4px; }
  .grid--m2 .tag { font-size: .74rem; padding: 2px 8px; max-width: 100%; overflow-wrap: anywhere; }
  /* Kad nilai: ikon di atas, angka di bawahnya (lebih muat dalam kolum sempit). */
  .grid--m2 .value { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
  .grid--m2 .value__metric { font-size: 1.08rem; }
  .grid--m2 .service { gap: 8px; }
  /* Tajuk kemahiran: ikon di atas teks supaya perkataan panjang tidak terkeluar kad. */
  .skill-group h3 { flex-direction: column; align-items: flex-start; gap: 8px; font-size: .95rem; overflow-wrap: anywhere; }

  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .process li { padding: 56px 12px 14px; }
  .process li::before { left: 12px; top: 12px; width: 34px; height: 34px; border-radius: 10px; font-size: .8rem; }
  .process b { font-size: .95rem; line-height: 1.25; }
  .process span { font-size: .86rem; line-height: 1.5; }
  .process small { font-size: .72rem; }

  .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; }
  .checklist li { font-size: .88rem; line-height: 1.35; gap: 8px; align-items: flex-start; }
  .checklist li::before { width: 22px; height: 22px; border-radius: 7px; font-size: .75rem; }

  :root[data-text="large"] .grid--m2,
  :root[data-text="large"] .process,
  :root[data-text="large"] .checklist { grid-template-columns: 1fr; }
}
