/* Kin9Slayer dashboard — Fresh Mint, light by default, dark on request */
:root {
  --bg: #f4f8f6; --bg-2: #eef5f1;
  --card: #ffffff; --card-2: #f7fbf9;
  --ink: #0f1a16; --ink-2: #33433c; --muted: #5c6b64;
  --line: #e3ebe7; --line-2: #d3dfd9;
  --mint: #10b981; --mint-2: #059669; --mint-ink: #04291b; --mint-text: #047857;
  --tint: #e7f8f0; --tint-2: #d1fae5;
  --amber: #f59e0b; --rose: #f43f5e; --sky: #0ea5e9;
  --shadow: 0 1px 2px rgb(15 26 22 / .04), 0 8px 24px -12px rgb(15 26 22 / .12);
  --shadow-lg: 0 2px 6px rgb(15 26 22 / .06), 0 30px 60px -20px rgb(15 26 22 / .28);
  --r: 20px; --r-sm: 12px; --r-xs: 8px;
  --side: 300px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --font: "Onest", ui-sans-serif, system-ui, sans-serif;
  --display: "Bricolage Grotesque", "Onest", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #060b09; --bg-2: #0a1210;
  --card: #0d1613; --card-2: #111d19;
  --ink: #e8f5ef; --ink-2: #b8cbc3; --muted: #8aa197;
  --line: #1a2823; --line-2: #24362f;
  --mint: #34d399; --mint-2: #10b981; --mint-ink: #03150e; --mint-text: #6ee7b7;
  --tint: #0e221a; --tint-2: #123426;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 10px 30px -14px rgb(0 0 0 / .6);
  --shadow-lg: 0 2px 6px rgb(0 0 0 / .5), 0 40px 80px -24px rgb(0 0 0 / .8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
kbd { font: 500 12px/1 var(--mono); padding: 4px 6px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--muted); box-shadow: 0 1px 0 var(--line-2); }
:focus-visible { outline: 2px solid var(--mint-text); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--tint-2); color: var(--ink); }
.mono { font-family: var(--mono); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--bg); transition: top .2s var(--ease); }
.skip:focus { top: 16px; }

/* soft moving light behind everything */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .5; }
.aurora i:nth-child(1) { left: -20vmax; top: -25vmax; background: radial-gradient(circle, color-mix(in oklab, var(--mint) 40%, transparent), transparent 65%); animation: drift 22s var(--ease-io) infinite alternate; }
.aurora i:nth-child(2) { right: -25vmax; bottom: -30vmax; background: radial-gradient(circle, color-mix(in oklab, var(--sky) 22%, transparent), transparent 65%); animation: drift 28s var(--ease-io) infinite alternate-reverse; }
:root[data-theme="dark"] .aurora i { opacity: .35; }
@keyframes drift { to { transform: translate(12vmax, 8vmax) scale(1.15); } }

/* reading progress, top edge */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--mint), var(--mint-2)); }

/* ------------------------------------------------------------ shell */
.shell { position: relative; z-index: 1; display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
main { min-width: 0; padding: 28px 32px 32px; }

/* ------------------------------------------------------------ sidebar */
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 18px; padding: 22px 18px 18px; border-right: 1px solid var(--line);
  background: color-mix(in oklab, var(--card) 72%, transparent); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 6px; font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.brand__mark { width: 26px; height: 26px; fill: var(--mint); transition: transform .6s var(--spring); }
.brand:hover .brand__mark { transform: rotate(90deg) scale(1.08); }
.brand em { margin-left: auto; font: 500 11px/1 var(--mono); font-style: normal; color: var(--mint-text); background: var(--tint); padding: 5px 8px; border-radius: 999px; }

.bot { display: grid; gap: 10px; }
.bot__stage { position: relative; aspect-ratio: 1 / 1.02; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(70% 60% at 50% 40%, color-mix(in oklab, var(--mint) 26%, transparent), transparent 72%), linear-gradient(165deg, var(--tint), var(--card-2)); }
:root[data-theme="dark"] .bot__stage { background: radial-gradient(70% 60% at 50% 40%, color-mix(in oklab, var(--mint) 18%, transparent), transparent 72%), linear-gradient(165deg, #0b1d16, #08110e); }
.bot__stage::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 7%; height: 8%; border-radius: 50%; background: color-mix(in oklab, var(--mint) 22%, transparent); filter: blur(10px); }
.bot__art { position: absolute; inset: 4% 4% 0; z-index: 1; border: 0; padding: 0; background: none; cursor: pointer; }
.bot__art > svg { width: 100%; height: 100%; transform: translate(var(--bx, 0px), var(--by, 0px)); }
.bot__badge { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font: 500 11px/1 var(--mono); color: var(--ink-2); }
.bot__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
@keyframes ping { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.bot__pause { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; opacity: .75; transition: opacity .2s, transform .2s var(--ease); }
.bot__pause:hover { opacity: 1; transform: scale(1.06); }
.bot__pause svg { width: 13px; height: 13px; fill: currentColor; }
.bot__pause .i-play, .bot__pause[aria-pressed="true"] .i-pause { display: none; }
.bot__pause[aria-pressed="true"] .i-play { display: block; }

.bubble { position: relative; padding: 12px 14px; border-radius: 16px; border-top-left-radius: 6px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 74px; }
.bubble::before { content: ""; position: absolute; left: 18px; top: -7px; width: 12px; height: 12px; background: var(--card); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.bubble__who { display: block; font: 500 11px/1 var(--mono); color: var(--mint-text); margin-bottom: 6px; letter-spacing: .02em; }
.bubble__text { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.bubble__caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--mint); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.nav { position: relative; display: grid; gap: 2px; }
.nav__pill { position: absolute; left: 0; right: 0; top: 0; height: 42px; border-radius: 12px; background: var(--tint); box-shadow: inset 2px 0 0 var(--mint); transition: transform .45s var(--ease); }
.nav__a { position: relative; display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 12px; font-weight: 500; font-size: 15px; color: var(--ink-2); transition: color .2s; }
.nav__a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--spring); }
.nav__a:hover { color: var(--ink); } .nav__a:hover svg { transform: scale(1.12); }
.nav__a.is-on { color: var(--ink); }
.nav__a b { margin-left: auto; font: 500 12px/1 var(--mono); color: var(--muted); padding: 4px 7px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); }

.side__foot { margin-top: auto; display: grid; gap: 10px; }
.theme { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; transition: border-color .2s; }
.theme:hover { border-color: var(--line-2); }
.theme__track { position: relative; width: 44px; height: 24px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); transition: background .3s; }
.theme__knob { position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--card); box-shadow: 0 1px 3px rgb(0 0 0 / .2); transition: transform .45s var(--spring); }
.theme__knob svg { position: absolute; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: opacity .3s, transform .45s var(--spring); }
.theme .i-moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
.theme[aria-checked="true"] .theme__track { background: color-mix(in oklab, var(--mint) 35%, var(--bg-2)); }
.theme[aria-checked="true"] .theme__knob { transform: translateX(20px); }
.theme[aria-checked="true"] .i-sun { opacity: 0; transform: rotate(90deg) scale(.5); }
.theme[aria-checked="true"] .i-moon { opacity: 1; transform: none; }
.theme__label { font-size: 14px; font-weight: 500; color: var(--ink-2); }

/* ------------------------------------------------------------ buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s; }
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--primary { background: var(--mint); color: var(--mint-ink); box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, 0 6px 18px -8px color-mix(in oklab, var(--mint) 80%, transparent); }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn--primary:hover { box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, 0 10px 26px -8px color-mix(in oklab, var(--mint) 90%, transparent); transform: translateY(-1px); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { background: var(--card); border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--mint); background: var(--tint); transform: translateY(-1px); }
.btn--block { width: 100%; }
.btn--lg { height: 56px; padding: 0 26px; font-size: 17px; border-radius: 16px; }

/* ------------------------------------------------------------ top */
.top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; scroll-margin-top: 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--mono); color: var(--muted); margin-bottom: 14px; }
.eyebrow .sep { opacity: .5; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: ping 2.4s var(--ease) infinite; box-shadow: 0 0 0 0 color-mix(in oklab, var(--mint) 60%, transparent); }
h1 { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.02; letter-spacing: -.04em; font-weight: 600; max-width: 16ch; }
h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
h1 .w > span { display: inline-block; }
.grad { position: relative; display: inline-block; color: var(--mint-text); }
.grad::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .12em; border-radius: 99px; background: var(--mint); opacity: .45; transform: scaleX(0); transform-origin: left; }
.is-ready .grad::after { transform: scaleX(1); transition: transform 1s var(--ease) .9s; }
.lead { margin-top: 14px; max-width: 54ch; color: var(--ink-2); font-size: 16px; }
.lead b { color: var(--ink); font-weight: 600; }
.search { flex: none; display: flex; align-items: center; gap: 10px; width: 300px; height: 46px; padding: 0 8px 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; box-shadow: var(--shadow); transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.search:hover { border-color: var(--mint); transform: translateY(-1px); box-shadow: 0 0 0 4px color-mix(in oklab, var(--mint) 14%, transparent), var(--shadow); }
.search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search span { flex: 1; text-align: left; font-size: 14px; }

/* ------------------------------------------------------------ filters */
.filters { position: relative; display: inline-flex; gap: 2px; padding: 4px; margin-bottom: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.filters__pill { position: absolute; left: 0; top: 4px; height: calc(100% - 8px); border-radius: 10px; background: var(--ink); transition: transform .45s var(--ease), width .45s var(--ease); }
.chip { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: none; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: color .3s; }
.chip b { font: 500 11px/1 var(--mono); padding: 3px 6px; border-radius: 999px; background: var(--bg-2); color: var(--muted); transition: background .3s, color .3s; }
.chip.is-on { color: var(--bg); background: var(--ink); transition: color .3s, background-color 0s .45s; }
.chip:not(.is-on) { transition: color .3s, background-color 0s; }
.chip.is-on b { background: color-mix(in oklab, var(--bg) 18%, transparent); color: var(--bg); }

/* ------------------------------------------------------------ bento */
.bento { container-type: inline-size; display: grid; gap: 16px; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 172px;
  grid-template-areas:
    "clip clip clip clip clip clip clip chat chat chat chat chat"
    "clip clip clip clip clip clip clip chat chat chat chat chat"
    "plan plan plan plan wed wed wed wed stat stat stat stat"
    "plan plan plan plan wed wed wed wed flow flow flow flow"
    "store store store store store store game game game game game game"
    "store store store store store store game game game game game game"; }
.card { grid-area: var(--area); position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; isolation: isolate;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: transform .5s var(--ease), box-shadow .4s var(--ease), border-color .3s, opacity .45s var(--ease), filter .45s var(--ease); }
/* the spotlight under the pointer, and a lit rim */
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in oklab, var(--mint) 13%, transparent), transparent 55%); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--mint), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.card:hover::before, .card:hover::after, .card:focus-visible::before { opacity: 1; }
.card--project { cursor: pointer; }
.card--project:hover { --ty: -4px; box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.card--project:focus-visible { outline-offset: 4px; border-radius: var(--r); }
.card.is-dim { opacity: .28; filter: grayscale(.8) blur(.5px); transform: scale(.97); pointer-events: none; }
.card.is-match { box-shadow: 0 0 0 2px var(--mint), var(--shadow-lg); }

.card__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px 0; }
.ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--tint); color: var(--mint-text); transition: transform .5s var(--spring), background .3s; }
.ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card--project:hover .ico { transform: rotate(-8deg) scale(1.08); background: var(--mint); color: var(--mint-ink); }
.card__title { min-width: 0; flex: 1; }
.card__title h2 { font-size: 18px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.card__title p { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.num { font: 500 12px/1 var(--mono); color: var(--muted); padding: 5px 7px; border-radius: 8px; border: 1px dashed var(--line-2); transition: color .3s, border-color .3s; }
.card--project:hover .num { color: var(--mint-text); border-color: var(--mint); }
.card__foot { display: flex; align-items: center; gap: 10px; padding: 0 18px 14px; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.card__stack { display: flex; }
.card__stack li { position: relative; width: 28px; height: 28px; display: grid; place-items: center; margin-left: -6px; border-radius: 50%; background: #fff; border: 2px solid var(--card); box-shadow: 0 1px 2px rgb(0 0 0 / .12); transition: transform .35s var(--spring), margin .35s var(--ease); }
.card__stack li:first-child { margin-left: 0; }
.card__stack img { width: 15px; height: 15px; object-fit: contain; }
.card--project:hover .card__stack li { margin-left: 2px; }
.card__stack li:hover { transform: translateY(-3px) scale(1.12); z-index: 2; }
.card__stack li::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px); padding: 4px 8px; border-radius: 6px; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
.card__stack li:hover::after { opacity: 1; transform: translate(-50%, 0); }
.more { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--mint-text); opacity: .0; transform: translateX(-6px); transition: opacity .3s, transform .35s var(--ease); white-space: nowrap; }
.more svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.card--project:hover .more, .card--project:focus-visible .more { opacity: 1; transform: none; }
.card--project:hover .more svg { transform: translateX(3px); }
@media (hover: none) { .more { opacity: 1; transform: none; } }
.card__label { padding: 16px 18px 0; font: 500 12px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* previews: each fills what the head and foot leave */
.pv { position: relative; flex: 1; min-height: 0; margin: 14px 14px 12px; border-radius: 14px; overflow: hidden; background: var(--card-2); border: 1px solid var(--line); }

/* clip */
.pv-clip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 16px; align-items: center;
  background: linear-gradient(160deg, color-mix(in oklab, var(--tint) 70%, var(--card-2)), var(--card-2)); }
.clip__board { display: grid; gap: 14px; min-width: 0; }
.clip__url { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font: 400 13px/1 var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; }
.clip__url svg { flex: none; width: 15px; height: 15px; fill: none; stroke: var(--mint-text); stroke-width: 2; stroke-linecap: round; }
.clip__url b { color: var(--ink); font-weight: 500; }
.clip__url b::after { content: ""; display: inline-block; width: 1px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--ink); animation: blink 1s steps(1) infinite; }
.clip__tl { position: relative; height: 74px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.clip__wave { position: absolute; inset: 10px 10px; display: flex; align-items: center; gap: 2px; }
.clip__wave i { flex: 1; height: calc(var(--h) * 100%); min-height: 3px; border-radius: 2px; background: color-mix(in oklab, var(--ink) 18%, transparent); transform-origin: 50% 50%; }
.clip__seg { position: absolute; top: 6px; bottom: 6px; left: var(--l); width: var(--w); border-radius: 8px; background: color-mix(in oklab, var(--mint) 20%, transparent); border: 1.5px solid var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.clip__seg b { position: absolute; left: 6px; top: -1px; transform: translateY(-120%); font: 600 10px/1 var(--mono); color: var(--mint-text); white-space: nowrap; background: var(--card); padding: 3px 5px; border-radius: 5px; border: 1px solid var(--mint); opacity: 0; transition: opacity .3s .4s; }
.clip__seg b { top: 4px; transform: none; }
.is-live .clip__seg { transform: scaleX(1); }
.is-live .clip__seg b { opacity: 1; }
.is-live .clip__seg:nth-of-type(2) { transition-delay: .25s; } .is-live .clip__seg:nth-of-type(3) { transition-delay: .5s; }
.clip__head { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--rose); animation: sweep 5.5s linear infinite; }
.clip__head::before { content: ""; position: absolute; top: -1px; left: -4px; width: 10px; height: 8px; background: var(--rose); clip-path: polygon(0 0, 100% 0, 50% 100%); }
@keyframes sweep { from { transform: translateX(0); } to { transform: translateX(calc(var(--tlw, 400px) - 2px)); } }
.clip__steps { display: flex; gap: 6px; flex-wrap: wrap; }
.clip__steps li { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--muted); background: var(--card); border: 1px solid var(--line); transition: color .3s, background .3s, border-color .3s; }
.clip__steps li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; }
.clip__steps li.is-done { color: var(--mint-text); border-color: color-mix(in oklab, var(--mint) 40%, transparent); background: var(--tint); }
.clip__steps li.is-now { color: var(--ink); border-color: var(--mint); }
.clip__steps li.is-now::before { opacity: 1; background: var(--mint); animation: ping 1.4s infinite; }
.phone { width: 128px; aspect-ratio: 9 / 18.5; padding: 5px; border-radius: 22px; background: #0b0f0d; box-shadow: 0 18px 40px -16px rgb(0 0 0 / .55), inset 0 0 0 1.5px #2a332f; transform: rotate(4deg) translateY(4px); transition: transform .7s var(--spring); }
.card--project:hover .phone { transform: rotate(0deg) translateY(-6px) scale(1.04); }
.phone__screen { position: relative; height: 100%; border-radius: 17px; overflow: hidden; background: #000; }
/* Adegan di layar hape digambar CSS, bukan foto. Sebelumnya di sini ada potongan video
   YouTube berisi orang sungguhan yang bisa dikenali; memakai wajah seseorang sebagai
   materi promosi di situs publik bukan hak kita. Siluet ini menyampaikan hal yang sama
   -- klip tegak 9:16 berisi orang berbicara -- tanpa menggambarkan siapa pun.
   Disamakan persis dengan auto-clipper/css/page.css supaya dua halaman tidak berbeda. */
.phone__vid { position: absolute; inset: 0; transform: scale(1.06);
  background: radial-gradient(58% 42% at 50% 30%, #2f5270 0%, #17293a 56%, #0a141d 100%);
  animation: kb 9s var(--ease-io) infinite alternate; }
.phone__vid::before { content: ""; position: absolute; left: 50%; top: 24%;
  width: 30%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%);
  background: #4e7490; }
.phone__vid i { position: absolute; left: 50%; top: 47%; width: 62%; height: 36%;
  transform: translateX(-50%); border-radius: 46% 46% 0 0 / 60% 60% 0 0;
  background: #41637c; }
@keyframes kb { to { transform: scale(1.16) translate(-3%, -2%); } }
.phone__score { position: absolute; left: 7px; top: 9px; padding: 3px 6px; border-radius: 999px; background: #15803d; color: #fff; font: 700 9px/1 var(--font); }
.phone__cap { position: absolute; left: 6px; right: 6px; bottom: 26%; text-align: center; font: 800 11px/1.25 var(--font); color: #fff; text-shadow: 0 1px 3px #000; }
.phone__cap span { transition: color .2s, transform .2s var(--spring); display: inline-block; }
.phone__cap span.is-on { color: #fde047; transform: scale(1.15); }
.phone__bar { position: absolute; left: 8px; right: 8px; bottom: 10px; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .25); overflow: hidden; }
.phone__bar::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: bar 5.5s linear infinite; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* chat */
.pv-chat { display: flex; flex-direction: column; background: var(--card-2); }
.chat__log { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 14px; overflow: hidden; -webkit-mask: linear-gradient(transparent, #000 22%); mask: linear-gradient(transparent, #000 22%); }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; animation: pop .45s var(--spring) both; }
.msg--me { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 4px; }
.msg--ai { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink-2); }
.msg--ai small { display: block; margin-bottom: 4px; font: 500 10.5px/1 var(--mono); color: var(--mint-text); }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.chat__input { display: flex; align-items: center; gap: 8px; margin: 0 10px 10px; padding: 8px 8px 8px 12px; border-radius: 14px; background: var(--card); border: 1px solid color-mix(in oklab, var(--mint) 35%, var(--line)); }
.chat__ph { flex: 1; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__model { display: inline-flex; align-items: center; gap: 5px; font: 500 11px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.chat__model i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.chat__send { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--mint-ink); transition: transform .3s var(--spring); }
.chat__send svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chat__send.is-sent { transform: translateY(-3px) scale(1.12); }

/* plan */
.pv-plan { background: var(--card-2); display: grid; place-items: center; padding: 8px; }
.pv-plan::before { content: ""; position: absolute; inset: 0; opacity: .6; background-image: radial-gradient(color-mix(in oklab, var(--ink) 16%, transparent) 1px, transparent 1px); background-size: 14px 14px; }
.plan { position: relative; width: 100%; height: 100%; overflow: visible; }
.plan__walls path { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-live .plan__walls path { animation: draw 1.4s var(--ease) forwards; }
.is-live .plan__walls path:nth-child(2) { animation-delay: .25s; } .is-live .plan__walls path:nth-child(3) { animation-delay: .45s; } .is-live .plan__walls path:nth-child(4) { animation-delay: .6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.plan__floor rect { fill: color-mix(in oklab, var(--mint) 18%, transparent); opacity: 0; transition: opacity .6s .9s; }
.plan__dim path { fill: none; stroke: var(--muted); stroke-width: 1; }
.plan__dim text, .plan__rooms text { font: 600 8.5px var(--mono); fill: var(--muted); text-anchor: middle; letter-spacing: .04em; }
.plan__rooms text { opacity: 0; transition: opacity .5s 1.1s; text-transform: uppercase; }
.plan__door path { fill: none; stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; transition: opacity .4s 1s; }
.it { stroke-width: 1.5; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .55s var(--spring); }
.it--bed { fill: #fbcfe8; stroke: #be185d; } .it--sofa { fill: #fde68a; stroke: #b45309; } .it--table { fill: #fed7aa; stroke: #c2410c; }
.it--kitchen { fill: #bfdbfe; stroke: #1d4ed8; } .it--plant { fill: #bbf7d0; stroke: #15803d; }
.is-live .plan__floor rect, .is-live .plan__rooms text, .is-live .plan__door path { opacity: 1; }
.is-live .it { transform: scale(1); }
.is-live .it:nth-child(1) { transition-delay: 1.1s; } .is-live .it:nth-child(2) { transition-delay: 1.2s; } .is-live .it:nth-child(3) { transition-delay: 1.3s; }
.is-live .it:nth-child(4) { transition-delay: 1.4s; } .is-live .it:nth-child(5) { transition-delay: 1.5s; } .is-live .it:nth-child(6) { transition-delay: 1.6s; } .is-live .it:nth-child(7) { transition-delay: 1.65s; }
.plan__cursor { position: absolute; left: 52%; top: 46%; display: flex; align-items: flex-start; gap: 2px; opacity: 0; pointer-events: none; }
.plan__cursor svg { width: 18px; height: 18px; fill: var(--ink); stroke: var(--card); stroke-width: 1.5; }
.plan__cursor b { margin-top: 14px; padding: 3px 6px; border-radius: 6px; background: var(--mint); color: var(--mint-ink); font: 600 10px/1 var(--mono); white-space: nowrap; }
.is-live .plan__cursor { animation: cursor 6s var(--ease-io) 2.2s infinite; }
@keyframes cursor { 0% { opacity: 0; transform: translate(40px, 50px); } 15% { opacity: 1; } 45% { transform: translate(0, 0); } 70% { opacity: 1; transform: translate(-6px, -4px); } 85%, 100% { opacity: 0; transform: translate(-6px, -4px); } }

/* wedding */
.pv-wed { background: #12302a; }
.wed__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: kb2 14s var(--ease-io) infinite alternate; }
@keyframes kb2 { to { transform: scale(1.02) translate(-2%, 1%); } }
.card--project:hover .wed__img { animation-duration: 6s; }
.wed__hud { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; justify-content: space-between; gap: 8px; }
.wed__hud span { padding: 6px 10px; border-radius: 10px; background: rgb(250 246 238 / .92); color: #1f3d36; font: 600 12px/1 var(--font); box-shadow: 0 4px 14px -6px rgb(0 0 0 / .4); }
.wed__hud b { display: inline-block; transition: transform .35s var(--spring); }
.wed__hud b.bump { transform: scale(1.4); color: #b45309; }
.wed__toast { position: absolute; left: 50%; bottom: 12px; padding: 7px 12px; border-radius: 999px; background: #1f3d36; color: #fef3c7; font: 600 12px/1 var(--font); white-space: nowrap; transform: translate(-50%, 140%); opacity: 0; transition: transform .5s var(--spring), opacity .3s; }
.wed__toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.petals i { position: absolute; bottom: -12px; width: 9px; height: 9px; border-radius: 60% 0; background: #fda4af; opacity: .9; animation: petal 7s linear infinite; }
.petals i:nth-child(odd) { background: #fde68a; width: 6px; height: 6px; border-radius: 50%; }
.petals i:nth-child(1) { left: 6%; animation-delay: 0s; } .petals i:nth-child(2) { left: 18%; animation-delay: 1.2s; } .petals i:nth-child(3) { left: 30%; animation-delay: 2.6s; }
.petals i:nth-child(4) { left: 44%; animation-delay: .6s; } .petals i:nth-child(5) { left: 56%; animation-delay: 3.4s; } .petals i:nth-child(6) { left: 68%; animation-delay: 1.8s; }
.petals i:nth-child(7) { left: 78%; animation-delay: 4.2s; } .petals i:nth-child(8) { left: 90%; animation-delay: 2.2s; } .petals i:nth-child(9) { left: 36%; animation-delay: 5s; } .petals i:nth-child(10) { left: 84%; animation-delay: 5.6s; }
@keyframes petal { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 10% { opacity: .95; } 100% { transform: translate(30px, -260px) rotate(320deg); opacity: 0; } }

/* stat */
.card--stat, .card--flow { padding-bottom: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 18px 0; }
.stats b { display: block; font-size: 32px; line-height: 1; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.spark { position: absolute; left: 18px; right: 18px; bottom: 14px; height: 34px; display: flex; align-items: flex-end; gap: 4px; }
.spark i { flex: 1; height: calc(var(--h) * 100%); border-radius: 4px 4px 2px 2px; background: linear-gradient(var(--mint), color-mix(in oklab, var(--mint) 30%, transparent)); transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--spring); }
.is-live .spark i { transform: scaleY(1); }
.spark i:nth-child(n) { transition-delay: calc(var(--i, 0) * 50ms); }

/* flow */
.flow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 22px 18px 0; }
.flow::before { content: ""; position: absolute; left: calc(18px + 12.5% - 2px); right: calc(18px + 12.5% - 2px); top: 33px; height: 2px; background: var(--line-2); }
.flow::after { content: ""; position: absolute; left: calc(18px + 12.5% - 2px); top: 33px; height: 2px; width: calc((100% - 36px) * .75 * var(--p, 0)); background: var(--mint); transition: width .7s var(--ease); }
.flow li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); transition: color .3s; }
.flow li i { width: 24px; height: 24px; border-radius: 50%; background: var(--card); border: 2px solid var(--line-2); transition: border-color .3s, background .3s, transform .45s var(--spring); }
.flow li.is-done { color: var(--ink-2); } .flow li.is-done i { border-color: var(--mint); background: var(--mint); }
.flow li.is-now { color: var(--ink); } .flow li.is-now i { border-color: var(--mint); background: var(--card); transform: scale(1.2); box-shadow: 0 0 0 5px color-mix(in oklab, var(--mint) 20%, transparent); }
.flow__note { position: absolute; left: 18px; right: 18px; bottom: 14px; font-size: 13px; color: var(--ink-2); transition: opacity .3s, transform .35s var(--ease); }
.flow__note.is-swap { opacity: 0; transform: translateY(6px); }

/* store */
.pv-store { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "kpi kpi" "chart orders"; gap: 10px; padding: 12px; background: var(--card-2); }
.pv-store .kpis { grid-area: kpi; } .pv-store .chart { grid-area: chart; } .pv-store .orders { grid-area: orders; align-content: start; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpis div { padding: 8px 10px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.kpis span { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpis b { display: inline-block; margin: 2px 6px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpis em { font: 500 11px/1 var(--mono); font-style: normal; color: var(--mint-text); } .kpis em.dn { color: #e11d48; }
.chart { position: relative; min-height: 72px; color: var(--mint); border-radius: 12px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.chart svg { position: absolute; inset: 10px 0 6px; width: 100%; height: calc(100% - 16px); }
.chart__line { fill: none; stroke: var(--mint); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart__area { fill: color-mix(in oklab, var(--mint) 18%, transparent); opacity: 0; transition: opacity .8s 1s; }
.is-live .chart__line { animation: draw 1.8s var(--ease) forwards; }
.is-live .chart__area { opacity: 1; }
.chart__dot { position: absolute; right: 4px; top: 22%; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px color-mix(in oklab, var(--mint) 25%, transparent); opacity: 0; transition: opacity .3s 1.8s; }
.is-live .chart__dot { opacity: 1; animation: ping 2s 2s infinite; }
.orders { display: grid; gap: 4px; }
.orders li:nth-child(n+4) { display: none; }
.kpis em { white-space: nowrap; }
.orders li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 8px; row-gap: 2px; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 12.5px; }
.orders li.is-new { animation: slidein .6s var(--ease) both; }
@keyframes slidein { from { opacity: 0; transform: translateY(-10px); } }
.orders span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.orders b { grid-row: 2; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 12px; color: var(--muted); }
.orders em { grid-row: 1 / 3; grid-column: 2; align-self: center; }
.orders em { font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.orders em.ok { background: #dcfce7; color: #166534; } .orders em.wait { background: #fef3c7; color: #92400e; }
:root[data-theme="dark"] .orders em.ok { background: #0f2e1d; color: #86efac; } :root[data-theme="dark"] .orders em.wait { background: #2e2410; color: #fcd34d; }

/* game */
.pv-game { background: #0f1412; }
.game__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; opacity: .55; transform: scale(1.04); transition: transform 1.2s var(--ease), opacity .6s; }
.card--project:hover .game__img { transform: scale(1.1) translate(-2%, 0); opacity: .7; }
.game__panel { position: absolute; right: 12px; top: 12px; bottom: 12px; width: min(300px, 62%); display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px;
  background: rgb(13 22 19 / .82); border: 1px solid rgb(255 255 255 / .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #e6f4ee; }
.game__search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border-radius: 10px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .12); font-size: 13px; }
.game__search svg { width: 15px; height: 15px; fill: none; stroke: #93a69e; stroke-width: 2; stroke-linecap: round; }
.caret { width: 1px; height: 14px; background: #34d399; animation: blink 1s steps(1) infinite; margin-left: -6px; }
.game__res { display: grid; gap: 4px; }
.game__res li { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; border: 1px solid transparent; opacity: .62; transition: opacity .3s, background .3s, border-color .3s, transform .35s var(--ease); }
.game__res li.is-on { opacity: 1; background: rgb(52 211 153 / .12); border-color: rgb(52 211 153 / .45); transform: translateX(-3px); }
.game__res b { font-size: 13px; font-weight: 600; } .game__res span { font-size: 11.5px; color: #93a69e; }
.game__counts { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; font-size: 11.5px; color: #93a69e; }
.game__counts span { padding: 4px 8px; border-radius: 999px; background: rgb(255 255 255 / .06); }
.game__counts b { color: #e6f4ee; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ blocks */
.block { margin-top: 64px; scroll-margin-top: 24px; }
.block__head { max-width: 640px; margin-bottom: 22px; }
.block__head .eyebrow { margin-bottom: 10px; }
.block h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -.035em; font-weight: 600; }
.block__head p:last-child { margin-top: 10px; color: var(--ink-2); }
.marquee { display: grid; gap: 12px; padding: 18px 0; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marq 38s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 44s; }
.marquee__row:hover .marquee__track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.tool { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 8px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); font-weight: 500; font-size: 15px; white-space: nowrap; transition: transform .35s var(--spring), border-color .3s, background .3s; }
.tool img { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: #fff; object-fit: contain; border: 1px solid var(--line); }
.tool:hover { transform: translateY(-3px); border-color: var(--mint); background: var(--tint); }

.cta { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 28px 32px; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 140% at 0% 50%, color-mix(in oklab, var(--mint) 30%, transparent), transparent 60%), linear-gradient(120deg, var(--tint), var(--card)); border: 1px solid color-mix(in oklab, var(--mint) 35%, var(--line)); box-shadow: var(--shadow); }
.cta__bot { width: 120px; height: 144px; transition: transform .6s var(--spring); }
.cta:hover .cta__bot { transform: translateY(-6px) rotate(-3deg); }
.cta__bot svg { width: 100%; height: 100%; }
.cta__text p { margin-top: 8px; color: var(--ink-2); max-width: 56ch; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot__keys kbd { margin: 0 2px; }

/* ------------------------------------------------------------ detail */
.detail { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; }
.detail[hidden] { display: none; }
.detail__scrim { position: absolute; inset: 0; background: rgb(6 12 10 / .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .45s var(--ease); }
.detail.is-open .detail__scrim { opacity: 1; }
.detail__panel { position: relative; width: min(1120px, 100%); height: min(720px, calc(100vh - 48px)); border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; transform-origin: 0 0; will-change: transform; }
.detail__x { position: absolute; right: 14px; top: 14px; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; transition: transform .35s var(--spring), background .2s; }
.detail__x:hover { transform: rotate(90deg); background: var(--tint); }
.detail__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.detail__body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); height: 100%; opacity: 0; transition: opacity .3s; }
.detail.is-open .detail__body { opacity: 1; transition: opacity .35s .25s; }
.gal { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--card-2); border-right: 1px solid var(--line); min-height: 0; }
.gal__main { position: relative; flex: 1; min-height: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.gal__main img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: opacity .35s, transform .6s var(--ease); }
.gal__main img.is-swap { opacity: 0; transform: scale(1.03); }
.gal__main img:not([src]) { visibility: hidden; }
/* while a screenshot loads: a soft sweep; if it never comes: a calm note instead of a broken icon */
.gal__main::before { content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .3s;
  background: linear-gradient(100deg, transparent 30%, color-mix(in oklab, var(--mint) 12%, transparent) 50%, transparent 70%) var(--bg-2); background-size: 220% 100%; }
.gal__main.is-loading::before { opacity: 1; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.gal__main::after { content: "Screenshot belum bisa dimuat. Coba muat ulang halamannya."; position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font-size: 14px; color: var(--muted); opacity: 0; pointer-events: none; transition: opacity .3s; }
.gal__main.is-failed::after { opacity: 1; }
.gal__thumbs { display: flex; gap: 10px; }
.gal__thumbs button { width: 104px; aspect-ratio: 16 / 10; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--bg-2); cursor: pointer; opacity: .6; transition: opacity .25s, border-color .25s, transform .3s var(--ease); }
.gal__thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.gal__thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--mint); }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.info { display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 24px; overflow-y: auto; }
.info > * { opacity: 0; transform: translateY(12px); }
.detail.is-open .info > * { opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .55s var(--ease); }
.detail.is-open .info > *:nth-child(2) { transition-delay: .3s; } .detail.is-open .info > *:nth-child(3) { transition-delay: .34s; } .detail.is-open .info > *:nth-child(4) { transition-delay: .38s; }
.detail.is-open .info > *:nth-child(5) { transition-delay: .42s; } .detail.is-open .info > *:nth-child(6) { transition-delay: .46s; } .detail.is-open .info > *:nth-child(7) { transition-delay: .5s; }
.detail.is-open .info > *:nth-child(8) { transition-delay: .54s; } .detail.is-open .info > *:nth-child(9) { transition-delay: .58s; }
.detail.is-open .info > *:first-child { transition-delay: .26s; }
.info__top { display: flex; align-items: center; gap: 8px; padding-right: 48px; }
.info h2 { font-size: 34px; line-height: 1.05; letter-spacing: -.035em; font-weight: 600; }
.info__url { font: 400 14px/1 var(--mono); color: var(--mint-text); margin-top: -6px; }
.info__desc { color: var(--ink-2); }
.info h3 { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 4px; }
.info__feat { display: grid; gap: 8px; }
.info__feat li { position: relative; padding-left: 28px; font-size: 15px; }
.info__feat li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 6px; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.info__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.info__facts div { padding: 10px 12px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); }
.info__facts dt { font-size: 12px; color: var(--muted); } .info__facts dd { margin: 2px 0 0; font-weight: 600; font-size: 14px; }
.info__stack { display: flex; flex-wrap: wrap; gap: 6px; }
.info__stack li { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 4px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.info__stack img { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: #fff; object-fit: contain; }
.info__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }

/* ------------------------------------------------------------ palette */
.palette { position: fixed; inset: 0; z-index: 90; display: grid; justify-items: center; align-items: start; padding: 14vh 20px 20px; }
.palette[hidden] { display: none; }
.palette__scrim { position: absolute; inset: 0; background: rgb(6 12 10 / .4); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.palette.is-open .palette__scrim { opacity: 1; }
.palette__box { position: relative; width: min(600px, 100%); border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; transform: translateY(-8px) scale(.97); opacity: 0; transition: transform .4s var(--spring), opacity .25s; }
.palette.is-open .palette__box { transform: none; opacity: 1; }
.palette__in { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 58px; border-bottom: 1px solid var(--line); }
.palette__in svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.palette__in input { flex: 1; height: 100%; border: 0; background: none; font: 400 17px var(--font); color: var(--ink); outline: none; }
.palette__list { max-height: 360px; overflow-y: auto; padding: 8px; }
.palette__list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; transition: background .15s; }
.palette__list li[aria-selected="true"] { background: var(--tint); }
.palette__list li .ico { width: 34px; height: 34px; border-radius: 10px; }
.palette__list li .ico svg { width: 17px; height: 17px; }
.palette__list b { display: block; font-weight: 600; font-size: 15px; } .palette__list small { display: block; color: var(--muted); font-size: 13px; }
.palette__list li em { margin-left: auto; font: 500 11px/1 var(--mono); font-style: normal; color: var(--muted); }
.palette__list .group { padding: 10px 12px 4px; font: 500 11px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; cursor: default; }
.palette__list .empty { justify-content: center; color: var(--muted); cursor: default; }
.palette__hint { padding: 10px 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.palette__hint kbd { margin-right: 2px; }

/* ------------------------------------------------------------ entrances */
[data-enter] { opacity: 0; transform: translateY(14px); }
.is-ready [data-enter] { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.bento > .card { opacity: 0; transform: translateY(24px) scale(.98); }
.is-ready .bento > .card { opacity: 1; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); transition: transform .9s var(--ease), opacity .7s var(--ease), box-shadow .4s, border-color .3s, filter .45s; transition-delay: calc(var(--d, 0) * 1ms), calc(var(--d, 0) * 1ms), 0s, 0s, 0s; }
.is-ready .bento > .card.is-settled { transition-delay: 0s; }
.is-ready .bento > .card.is-dim { opacity: .28; transform: scale(.97); }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
h1[data-split] .w > span { transform: translateY(105%); }
.is-ready h1[data-split] .w > span { transform: none; transition: transform .9s var(--ease); transition-delay: calc(120ms + var(--i) * 60ms); }

/* theme switch: the new look grows out of the switch */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ------------------------------------------------------------ responsive */
@container (max-width: 939px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 168px;
    grid-template-areas:
      "clip clip clip clip clip clip" "clip clip clip clip clip clip"
      "chat chat chat stat stat stat" "chat chat chat flow flow flow"
      "plan plan plan wed wed wed" "plan plan plan wed wed wed"
      "store store store store store store" "store store store store store store"
      "game game game game game game" "game game game game game game"; }
}
@media (max-width: 1180px) { :root { --side: 260px; } main { padding: 24px 22px; } .search { width: 240px; } }
@media (max-width: 960px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: relative; height: auto; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "brand foot" "bot bot"; gap: 14px; border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 18px 18px; }
  .brand { grid-area: brand; } .brand em { display: none; }
  .bot { grid-area: bot; grid-template-columns: 132px minmax(0, 1fr); align-items: center; }
  .bot__stage { aspect-ratio: 1; }
  .bubble { border-top-left-radius: 16px; border-bottom-left-radius: 6px; } .bubble::before { left: -7px; top: 22px; border: 0; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .nav { display: none; }
  .side__foot { grid-area: foot; margin: 0; display: flex; justify-content: flex-end; gap: 8px; }
  .side__foot .btn { width: auto; height: 40px; padding: 0 14px; font-size: 14px; }
  .theme { height: 40px; } .theme__label { display: none; }
  .top { flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
}
@media (max-width: 600px) {
  main { padding: 20px 16px; }
  .side { padding: 12px 16px 16px; }
  .side__foot .btn svg { display: none; }
  .bot { grid-template-columns: 116px minmax(0, 1fr); }
  .bot__badge { display: none; }
  .bot__pause { width: 26px; height: 26px; right: 6px; bottom: 6px; }
  .bot__art { inset: 2% 2% 0; }
  .filters { gap: 0; }
  .chip { padding: 0 11px; gap: 6px; }
  .bubble { min-height: 0; padding: 10px 12px; } .bubble__text { font-size: 13.5px; }
  .filters { display: flex; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .chip { flex: none; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; grid-template-areas: none; gap: 14px; }
  .card { grid-area: auto; }
  .card--project { min-height: 400px; }
  .card--stat, .card--flow { min-height: 176px; }
  .pv-clip { grid-template-columns: minmax(0, 1fr) 96px; gap: 10px; padding: 12px; }
  .phone { width: 96px; }
  .clip__steps li:nth-child(n+3) { display: none; }
  .card__foot .card__stack { display: none; }
  .game__panel { width: auto; left: 12px; }
  .pv-store { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kpi" "chart" "orders"; }
  .pv-store .orders li:nth-child(n+2) { display: none; }
  .pv-store .chart { min-height: 90px; }
  .kpis b { font-size: 16px; } .kpis span { font-size: 10.5px; }
  .cta { grid-template-columns: minmax(0, 1fr); padding: 22px; text-align: left; }
  .cta__bot { display: none; }
  .cta .btn { width: 100%; }
  .foot { flex-direction: column; }
  .foot__keys { display: none; }
  .detail { padding: 0; align-items: end; }
  .detail__panel { height: 92vh; border-radius: 22px 22px 0 0; }
  .detail__body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); overflow-y: auto; }
  .gal { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .gal__main { flex: none; aspect-ratio: 16 / 10; }
  .gal__thumbs button { width: 76px; }
  .info { padding: 20px; overflow: visible; }
  .info h2 { font-size: 28px; }
  .info__facts { grid-template-columns: minmax(0, 1fr); }
  .info__act .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-enter], .bento > .card, [data-reveal], h1[data-split] .w > span { opacity: 1 !important; transform: none !important; }
}

/* display face for headings and big numbers */
h1, .card__title h2, .block h2, .info h2, .stats b, .kpis b, .brand span, .cta h2 { font-family: var(--display); font-optical-sizing: auto; }
h1 { font-weight: 700; letter-spacing: -.045em; }
.card__title h2 { font-weight: 650; letter-spacing: -.025em; }
.block h2, .info h2, .cta h2 { font-weight: 700; }
:root[data-theme="dark"] .btn--primary, :root[data-theme="dark"] .btn--primary:hover { box-shadow: 0 1px 0 rgb(255 255 255 / .25) inset; }

/* ------------------------------------------------------------ the standard card a new project gets */
.card--extra { grid-area: auto; grid-column: span 6; grid-row: span 2; }
@container (max-width: 939px) { .card--extra { grid-column: span 6; } }
.pv-shot { background: var(--bg-2); }
.pv-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transform: scale(1.02); transition: transform 1.4s var(--ease), object-position 2.4s var(--ease); }
.card--project:hover .pv-shot img { transform: scale(1.08); object-position: bottom right; }
.pv-shot__url { position: absolute; left: 10px; bottom: 10px; padding: 5px 9px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); font: 500 11px/1 var(--mono); color: var(--ink-2); box-shadow: var(--shadow); }

/* ------------------------------------------------------------ more is coming */
.next { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 12px 18px 12px 12px; border-radius: var(--r); border: 1.5px dashed var(--line-2); background: color-mix(in oklab, var(--card) 60%, transparent); color: var(--ink-2); font-size: 14.5px; }
.next b { color: var(--ink); font-weight: 600; }
.next__bot { flex: none; width: 46px; height: 55px; }
.next__bot svg { width: 100%; height: 100%; }
.next__dots { margin-left: auto; display: inline-flex; gap: 5px; }
.next__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: dot 1.2s infinite; }
.next__dots i:nth-child(2) { animation-delay: .15s; } .next__dots i:nth-child(3) { animation-delay: .3s; }
h1 { max-width: 19ch; }
.bento > .next--card { grid-column: span 6; grid-row: span 2; margin: 0; flex-direction: column; justify-content: center; text-align: center; padding: 24px; }
.bento > .next--card .next__bot { width: 92px; height: 110px; }
.bento > .next--card .next__dots { margin: 0; }
@container (max-width: 939px) { .bento > .next--card { grid-column: span 6; grid-row: span 1; } }
@media (max-width: 600px) {
  .card--extra { grid-column: auto; grid-row: auto; }
  .next { align-items: flex-start; } .next__dots { display: none; }
}

/* ------------------------------------------------------------ closed for now */
.soon { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; white-space: nowrap;
  font: 600 11.5px/1 var(--mono); color: #92400e; background: #fef3c7; border: 1px solid #fde68a; }
.soon i { width: 6px; height: 6px; border-radius: 50%; background: #f59e0b; animation: ping 2.4s var(--ease) infinite; box-shadow: 0 0 0 0 rgba(245,158,11,.5); }
:root[data-theme="dark"] .soon { color: #fcd34d; background: #2e2410; border-color: #4a3a12; }
.card--soon .card__head .num { display: none; }
.card--soon .pv { filter: saturate(.55); }
.card--soon:hover .pv { filter: none; }
.btn.btn--soon { background: var(--card); color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn.btn--soon::after { display: none; }
@media (max-width: 600px) { .soon { height: 22px; padding: 0 8px; font-size: 10.5px; } }
