/* ==========================================================================
   CreationBag — home page
   Hand-written CSS (no Tailwind CDN, no jQuery). Dark theme, glass surfaces,
   animated aurora hero. Respects prefers-reduced-motion.
   ========================================================================== */

:root {
  --bg: #05060f;
  --bg-2: #080a18;
  --ink: #f4f6ff;
  --muted: #9aa3c0;
  --dim: #6b7391;
  --line: rgba(255, 255, 255, .08);
  --glass: rgba(255, 255, 255, .035);
  --indigo: #6d6bff;
  --violet: #a855f7;
  --pink: #f472b6;
  --cyan: #22d3ee;
  --green: #34d399;
  --amber: #fbbf24;
  --grad: linear-gradient(120deg, #6d6bff 0%, #a855f7 45%, #f472b6 100%);
  --grad-ai: linear-gradient(120deg, #22d3ee 0%, #34d399 100%);
  --radius: 22px;
  --maxw: 1200px;
  --font-head: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; z-index: 200; font-weight: 700; }
.skip:focus { left: 12px; }
.wrap { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-ai { background: var(--grad-ai); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(5, 6, 15, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand img { height: 34px; width: auto; filter: drop-shadow(0 0 14px rgba(109, 107, 255, .35)); }
.menu { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.menu a:not(.btn):hover { color: #fff; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); color: #fff; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; margin: auto; transition: .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: 0; text-transform: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, border-color .25s; position: relative; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 40px -10px rgba(168, 85, 247, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { box-shadow: 0 16px 50px -8px rgba(168, 85, 247, .85), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost { background: var(--glass); border-color: var(--line); color: #fff; backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; padding: 140px 0 90px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.b1 { width: 560px; height: 560px; background: #4f46e5; top: -160px; left: -120px; animation: float1 18s ease-in-out infinite alternate; }
.b2 { width: 520px; height: 520px; background: #a21caf; top: 10%; right: -140px; animation: float2 22s ease-in-out infinite alternate; }
.b3 { width: 420px; height: 420px; background: #0891b2; bottom: -160px; left: 32%; opacity: .38; animation: float3 20s ease-in-out infinite alternate; }
@keyframes float1 { to { transform: translate(120px, 90px) scale(1.15); } }
@keyframes float2 { to { transform: translate(-140px, 70px) scale(.9); } }
@keyframes float3 { to { transform: translate(90px, -80px) scale(1.2); } }
.grid-lines { 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: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; mix-blend-mode: screen; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(to top, var(--bg), transparent); z-index: -1; }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; border: 1px solid rgba(109, 107, 255, .35); background: rgba(109, 107, 255, .1); color: #c7c8ff; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(10px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.9rem); font-weight: 800; margin: 24px 0 24px; letter-spacing: -.035em; }
.hero h1 .grad { background-size: 200% 100%; animation: shine 7s linear infinite; }
@keyframes shine { to { background-position: 200% 0; } }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40em; }
.lede b { color: #fff; font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 44px; }
.live { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; color: var(--dim); font-size: 13px; }
.live span.t { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: 11px; margin-right: 4px; }
.live a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: #d6dafc; font-weight: 600; transition: .25s; }
.live a:hover { border-color: rgba(168, 85, 247, .6); background: rgba(168, 85, 247, .12); color: #fff; }

/* phone */
.phone-wrap { position: relative; display: grid; place-items: center; }
.phone-wrap::before { content: ""; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 0deg, #6d6bff, #a855f7, #f472b6, #22d3ee, #6d6bff); filter: blur(70px); opacity: .35; animation: spin 16s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.phone { position: relative; width: min(100%, 340px); border-radius: 44px; padding: 12px; background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 50px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.04) inset; transform: rotate(2.5deg); animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(2.5deg) translateY(-12px); } }
.screen { border-radius: 34px; overflow: hidden; background: #0b0f1c; height: 560px; display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 22px 18px 14px; background: #101626; border-bottom: 1px solid var(--line); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.chat-head b { display: block; font-size: 14px; line-height: 1.2; }
.chat-head small { color: var(--green); font-size: 11px; font-weight: 600; }
.chat { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 18px 18px; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .5s, transform .5s; }
.msg.show { opacity: 1; transform: none; }
.msg.me { align-self: flex-end; background: linear-gradient(135deg, #5b5bf0, #8b5cf6); border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: #1a2036; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.intent { align-self: stretch; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 11px; color: #67e8f9; background: rgba(34, 211, 238, .07); border: 1px dashed rgba(34, 211, 238, .35); border-radius: 12px; padding: 9px 12px; line-height: 1.5; }
.intent i { color: #a5b4fc; font-style: normal; }
.slot { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.slot span { padding: 5px 11px; border-radius: 999px; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4); color: #6ee7b7; font-size: 12px; font-weight: 700; }
.typing { align-self: flex-start; display: none; gap: 4px; padding: 12px 14px; background: #1a2036; border-radius: 16px; border-bottom-left-radius: 4px; }
.typing.show { display: flex; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #7c86ad; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 40% { transform: translateY(-4px); opacity: .5; } }
.chip-float { position: absolute; z-index: 3; padding: 10px 16px; border-radius: 16px; background: rgba(12, 16, 32, .75); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.14); font-size: 12px; font-weight: 700; box-shadow: 0 20px 40px -12px rgba(0,0,0,.6); display: flex; align-items: center; gap: 10px; }
.chip-float small { display: block; color: var(--dim); font-weight: 500; font-size: 10.5px; }
.chip-float .ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: rgba(34, 211, 238, .14); color: var(--cyan); }
.chip-float .ic svg { width: 16px; height: 16px; }
.cf1 { left: -34px; top: 18%; animation: bob2 6s ease-in-out infinite; }
.cf2 { right: -18px; bottom: 16%; animation: bob2 7s ease-in-out -2s infinite; }
.cf2 .ic { background: rgba(244, 114, 182, .15); color: var(--pink); }
@keyframes bob2 { 50% { transform: translateY(-10px); } }
.note { text-align: center; color: var(--dim); font-size: 11px; margin-top: 18px; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: rgba(255,255,255,.015); overflow: hidden; padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; width: max-content; gap: 54px; animation: slide 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track span { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: #5d6584; letter-spacing: .02em; white-space: nowrap; display: flex; align-items: center; gap: 54px; }
.track span::after { content: "✦"; color: var(--violet); opacity: .6; font-size: 14px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: 130px 0; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--indigo); margin-bottom: 18px; }
.sec-head { max-width: 760px; margin-bottom: 64px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 1.12rem; margin-top: 20px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); overflow: hidden; }
.stat { padding: 38px 30px; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat .n { font-family: var(--font-head); font-size: clamp(2.4rem, 4.4vw, 3.8rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.stat .l { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { grid-column: span 2; position: relative; padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); overflow: hidden; transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .3s; }
.tile.w3 { grid-column: span 3; } .tile.w4 { grid-column: span 4; }
.tile::before, .case::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(140, 120, 255, .16), transparent 60%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.tile:hover, .case:hover { transform: translateY(-5px); border-color: rgba(168, 85, 247, .4); }
.tile:hover::before, .case:hover::before { opacity: 1; }
.ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px; border: 1px solid rgba(255,255,255,.1); }
.ico svg { width: 26px; height: 26px; }
.ico.c-green { background: rgba(52, 211, 153, .12); color: var(--green); }
.ico.c-violet { background: rgba(168, 85, 247, .14); color: #c084fc; }
.ico.c-blue { background: rgba(109, 107, 255, .14); color: #a5b4fc; }
.ico.c-cyan { background: rgba(34, 211, 238, .12); color: var(--cyan); }
.ico.c-pink { background: rgba(244, 114, 182, .12); color: var(--pink); }
.ico.c-amber { background: rgba(251, 191, 36, .12); color: var(--amber); }
.tile h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.tile p { color: var(--muted); font-size: .98rem; }
.tile ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tile li, .tags span { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: #c9cff0; }

/* principle */
.principle { border-radius: 32px; padding: clamp(36px, 6vw, 72px); border: 1px solid rgba(168, 85, 247, .25); background: radial-gradient(900px 400px at 100% 0%, rgba(168, 85, 247, .18), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(34, 211, 238, .12), transparent 60%), #0a0d1e; display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
.principle h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; }
.principle p { color: var(--muted); margin-top: 20px; font-size: 1.05rem; }
.flow { display: grid; gap: 14px; }
.step { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.step .k { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; background: var(--grad); }
.step.ai .k { background: var(--grad-ai); color: #04141a; }
.step b { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.step span { color: var(--muted); font-size: .9rem; }

/* case studies */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); overflow: hidden; transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .3s; --acc: var(--indigo); }
.case.wide { grid-column: span 2; }
.case .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.cat { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; color: var(--acc); background: color-mix(in srgb, var(--acc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); }
.visit { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); transition: .3s; }
.visit svg { width: 16px; height: 16px; }
.case:hover .visit { background: var(--acc); border-color: var(--acc); color: #fff; transform: rotate(-45deg); }
.case h3 { font-size: 2rem; font-weight: 800; margin-bottom: 4px; }
.case .sub { color: var(--acc); font-weight: 700; font-size: .92rem; margin-bottom: 14px; }
.case p { color: var(--muted); font-size: .96rem; flex: 1; }
.case .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.case .stretch { position: absolute; inset: 0; z-index: 2; }
.a-indigo { --acc: #8b8bff; } .a-green { --acc: #34d399; } .a-amber { --acc: #fbbf24; } .a-pink { --acc: #f472b6; } .a-cyan { --acc: #22d3ee; } .a-violet { --acc: #c084fc; } .a-orange { --acc: #fb923c; } .a-blue { --acc: #60a5fa; }

/* process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: s; }
.process::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent); opacity: .5; }
.ps { position: relative; padding-top: 0; text-align: center; }
.ps .num { width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; background: #0c1022; border: 2px solid var(--violet); box-shadow: 0 0 30px rgba(168, 85, 247, .45); position: relative; z-index: 1; }
.ps h3 { font-size: 1.3rem; margin-bottom: 10px; }
.ps p { color: var(--muted); font-size: .95rem; }

/* contact */
.contact { text-align: center; padding: 140px 0 100px; overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; left: 50%; top: 0; width: 1100px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(109, 107, 255, .32), rgba(168, 85, 247, .14) 50%, transparent 75%); z-index: -1; }
.contact h2 { font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 800; letter-spacing: -.04em; }
.contact p.sub { color: var(--muted); font-size: 1.2rem; max-width: 36em; margin: 26px auto 46px; }
.contact .cta-row { justify-content: center; margin: 0 0 26px; }
.btn-lg { padding: 18px 34px; font-size: 17px; }
.btn-wa { background: #16a34a; color: #fff; box-shadow: 0 12px 40px -12px rgba(34, 197, 94, .7); }
.btn-wa:hover { background: #22c55e; }
.fine { color: var(--dim); font-size: 13px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--dim); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
footer nav { display: flex; gap: 26px; flex-wrap: wrap; }
footer nav a:hover { color: #fff; }
footer img { height: 28px; width: auto; opacity: .9; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone-wrap { margin-top: 30px; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .case.wide { grid-column: span 2; }
  .principle { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.w3, .tile.w4 { grid-column: span 1; }
  .tile.w4 { grid-column: span 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process::before { display: none; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .menu { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px; font-size: 18px; background: rgba(5, 6, 15, .96); backdrop-filter: blur(20px); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .menu.open { opacity: 1; pointer-events: auto; }
  .burger { position: relative; z-index: 110; }
  .cf1 { left: -6px; } .cf2 { right: -4px; }
}
@media (max-width: 640px) {
  .sec { padding: 90px 0; }
  .wrap { width: min(100% - 36px, var(--maxw)); }
  .cases, .bento { grid-template-columns: 1fr; }
  .case.wide, .tile.w4 { grid-column: span 1; }
  .process { grid-template-columns: 1fr; }
  .stat { padding: 26px 20px; }
  .hero { padding-top: 118px; }
  .cta-row .btn { width: 100%; }
  .chip-float { display: none; }
  .screen { height: 500px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .msg { opacity: 1; transform: none; }
  .track { animation: none; }
}
