/* FahSoft site — light agency redesign with dark bands (2026) */
@font-face { font-family: "Onest"; src: url("fonts/onest.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
    /* Light by default; .is-dark sections swap the same tokens */
    --night: #ffffff;
    --plum: #f6f3fd;
    --plum-2: #ece6fb;
    --line: #e8e3f2;
    --mist: #16122b;
    --haze: #625b7c;
    --peach: #fdf1eb;
    --ink: #120d24;
    --violet: #6c2bf2;
    --magenta: #e8489a;
    --grad: linear-gradient(100deg, var(--violet), var(--magenta));
    --wa: #25d366;
    --r-sm: 10px;
    --r-lg: 24px;
    --r-xl: 32px;
    --wrap: 1240px;
    --gut: 24px;
    --display: "Onest", system-ui, sans-serif;
    --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--mist); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--magenta); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--mist); color: var(--night); padding: 10px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: 112px 0; }
.section + .section { padding-top: 0; }
.section--tint { background: var(--plum); padding: 112px 0; }

/* Type */
h1, h2, h3, h4 { font-family: var(--display); color: var(--mist); margin: 0; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
.display { font-size: clamp(42px, 6.6vw, 92px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
.h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; }
.h2 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; font-weight: 600; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--haze); max-width: 60ch; margin: 22px 0 0; }
.muted { color: var(--haze); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head p { color: var(--haze); max-width: 46ch; margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--body); padding: 16px 24px; border-radius: 999px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--violet); color: #fff; box-shadow: 0 12px 28px -12px rgba(108, 43, 242, .8); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(108, 43, 242, .9); }
.btn--ghost { border-color: var(--line); color: var(--mist); background: var(--night); }
.btn--ghost:hover { border-color: var(--haze); }
.btn--wa { background: var(--wa); color: #06210f; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.hdr.is-scrolled, .hdr.is-open { background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: 78px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav > .dd > button { font: 500 15px/1 var(--body); color: var(--mist); text-decoration: none; padding: 10px 14px; border-radius: 999px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav > .dd > button:hover { background: var(--plum); }
.nav > a[aria-current="page"] { background: var(--violet); color: #fff; }
.nav .dd { position: relative; }
.nav .dd svg { width: 14px; height: 14px; transition: transform .2s; }
.nav .dd button[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 10px); left: -16px; width: 560px; background: var(--plum); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; box-shadow: 0 30px 60px -24px rgba(40,20,90,.28); }
.dd-panel[hidden] { display: none; }
.dd-panel a { text-decoration: none; padding: 12px 14px; border-radius: var(--r-sm); }
.dd-panel a:hover { background: var(--plum-2); }
.dd-panel b { display: block; font-weight: 600; font-size: 15px; }
.dd-panel span { display: block; color: var(--haze); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.hdr-cta { display: flex; align-items: center; gap: 14px; }
.hdr-phone { font: 500 15px var(--body); text-decoration: none; color: var(--haze); white-space: nowrap; }
.hdr-phone:hover { color: var(--mist); }
.hdr .btn { padding: 12px 18px; font-size: 15px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--mist); cursor: pointer; place-items: center; }
.burger svg { width: 22px; height: 22px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 120px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto 35%; height: 900px; background: radial-gradient(closest-side, rgba(122, 43, 245, .45), transparent 70%), radial-gradient(closest-side at 70% 60%, rgba(232, 72, 154, .35), transparent 70%); filter: blur(10px); z-index: -2; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; min-height: min(78vh, 760px); }
.hero-copy { position: relative; z-index: 2; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 40px; color: var(--haze); font-size: 15px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--magenta); }

/* Work wall: real portfolio pieces drifting on a tilted plane */
.wall { position: relative; height: 640px; perspective: 1400px; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
.wall-plane { position: absolute; inset: -40% -30% -40% -10%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; transform: rotateX(28deg) rotateZ(-14deg) rotateY(-10deg); transform-style: preserve-3d; }
.wall-col { display: flex; flex-direction: column; gap: 18px; animation: drift 46s linear infinite; }
.wall-col:nth-child(2) { animation-duration: 58s; animation-direction: reverse; }
.wall-col:nth-child(3) { animation-duration: 52s; }
.wall-col img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 50px -25px rgba(0,0,0,.8); }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* Service index (home) */
.svc-list { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 30px 8px; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; transition: background-color .25s, padding .25s; }
.svc-row:hover { background: linear-gradient(90deg, rgba(108,43,242,.08), transparent 70%); padding-left: 22px; }
.svc-row h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 600; font-stretch: 90%; }
.svc-row p { margin: 0; color: var(--haze); }
.svc-row .from { font: 500 15px var(--body); color: var(--mist); white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.svc-row .from svg { width: 20px; height: 20px; transition: transform .25s; }
.svc-row:hover .from svg { transform: translateX(4px); }
.svc-peek { position: absolute; right: 22%; top: 50%; width: 180px; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); transform: translateY(-50%) rotate(-4deg) scale(.9); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: 0 24px 40px -18px rgba(0,0,0,.8); z-index: 2; }
.svc-row:hover .svc-peek { opacity: 1; transform: translateY(-50%) rotate(-4deg) scale(1); }

/* Work grid */
.work { columns: 3 280px; column-gap: 18px; }
.work figure { margin: 0 0 18px; break-inside: avoid; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); background: var(--plum); }
.work img, .work video { width: 100%; height: auto; }
.work figcaption { padding: 12px 14px; font-size: 14px; color: var(--haze); display: flex; justify-content: space-between; gap: 10px; }
.work figcaption b { color: var(--mist); font-weight: 600; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { font: 500 14px var(--body); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--haze); cursor: pointer; text-decoration: none; }
.chip[aria-pressed="true"], .chip:hover { color: var(--mist); border-color: var(--haze); }
.chip[aria-pressed="true"] { background: var(--plum-2); }

/* Process (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { padding: 30px 26px 0 0; position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font: 700 15px var(--display); color: var(--magenta); margin-bottom: 18px; }
.step h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.step p { margin: 0; color: var(--haze); font-size: 16px; }

/* Split feature block */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--magenta); }

/* Offerings (service page) */
.offer { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.offer:has(> div:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
.offer > div:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.offer > div:last-child:nth-child(3n+2) { grid-column: span 2; }
.offer > div { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offer h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.offer p { margin: 0; color: var(--haze); font-size: 16px; }

/* Pricing */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.plan { background: var(--plum); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 20px; font-weight: 600; }
.plan .price { font: 700 52px/1 var(--display); font-stretch: 85%; margin: 18px 0 4px; letter-spacing: -0.03em; }
.plan .price small { font: 500 16px var(--body); color: var(--haze); letter-spacing: 0; }
.plan .note { color: var(--haze); font-size: 14px; margin: 0 0 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--magenta); }
.plan details { margin-bottom: 22px; font-size: 15px; }
.plan summary { cursor: pointer; color: var(--haze); list-style: none; }
.plan summary::-webkit-details-marker { display: none; }
.plan summary::after { content: " +"; }
.plan details[open] summary::after { content: " –"; }
.plan details ul { margin-top: 12px; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan.is-featured { background: linear-gradient(var(--plum), var(--plum)) padding-box, var(--grad) border-box; border: 1px solid transparent; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font: 600 20px/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; transition: transform .2s; color: var(--haze); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--haze); max-width: 70ch; }

/* Page hero (inner pages) */
.phero { position: relative; padding: 72px 0 80px; overflow: hidden; isolation: isolate; }
.phero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -380px; background: radial-gradient(closest-side, rgba(122,43,245,.4), transparent 70%); z-index: -1; }
.crumbs { font-size: 14px; color: var(--haze); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--mist); }

/* CTA band */
.cta { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: 72px 64px; background: var(--grad); isolation: isolate; }
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.22), transparent 45%); z-index: -1; }
.cta h2 { color: #fff; max-width: 18ch; }
.cta p { color: rgba(255,255,255,.88); max-width: 52ch; margin: 18px 0 0; font-size: 19px; }
.cta .btn--light { background: #fff; color: #3a0a72; }
.cta .btn--outline { border-color: rgba(255,255,255,.55); color: #fff; }

/* Forms */
.form { background: var(--plum); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; }
.form h2 { font-size: 28px; font-weight: 700; }
.form > p { color: var(--haze); margin: 8px 0 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; color: var(--mist); }
.field input, .field select, .field textarea { width: 100%; font: 400 16px var(--body); color: var(--mist); background: var(--night); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--haze) 50%), linear-gradient(135deg, var(--haze) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input::placeholder, .field textarea::placeholder { color: #9a93b2; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(122,43,245,.25); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.phone-group { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 14px; color: var(--haze); text-align: center; margin: 14px 0 0; }
.alert { border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 18px; font-size: 15px; background: rgba(232,72,154,.12); border: 1px solid rgba(232,72,154,.4); }

/* Contact methods */
.methods { display: grid; gap: 12px; }
.method { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r-sm); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, background-color .2s; }
.method:hover { border-color: var(--haze); background: var(--plum); }
.method .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--plum-2); flex: none; }
.method .ic svg { width: 22px; height: 22px; }
.method .ic.wa { background: var(--wa); color: #06210f; }
.method small { display: block; color: var(--haze); font-size: 14px; }
.method b { font-weight: 600; word-break: break-word; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px 22px; }
.post-card { text-decoration: none; display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 16 / 10; border-radius: var(--r-sm); overflow: hidden; background: var(--plum); border: 1px solid var(--line); }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover img { transform: scale(1.04); }
.post-card h3 { font-size: 22px; font-weight: 600; margin: 18px 0 8px; }
.post-card p { margin: 0; color: var(--haze); font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.prose { max-width: 72ch; margin: 0 auto; font-size: 18px; line-height: 1.75; }
.prose h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; font-weight: 700; font-stretch: 86%; margin: 0 0 28px; letter-spacing: -0.03em; }
.prose h2 { font-size: 30px; line-height: 1.2; margin: 48px 0 14px; font-weight: 700; }
.prose h3, .prose h4 { font-size: 22px; margin: 34px 0 10px; font-weight: 600; }
.prose p, .prose ul, .prose ol { margin: 0 0 20px; color: #3a3452; }
.prose a { color: var(--magenta); }
.prose img { border-radius: var(--r-lg); margin: 8px 0 32px; width: 100%; height: auto; }
.prose strong, .prose b { color: var(--mist); }
.prose li { margin-bottom: 8px; }

/* Footer */
.ftr { border-top: 1px solid var(--line); padding: 80px 0 34px; margin-top: 40px; }
.ftr-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.ftr h4 { font: 600 15px var(--body); color: var(--haze); margin-bottom: 16px; letter-spacing: 0; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ftr a { text-decoration: none; color: var(--mist); }
.ftr a:hover { color: var(--magenta); }
.ftr-brand p { color: var(--haze); max-width: 34ch; margin: 18px 0 0; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 64px; padding-top: 24px; color: var(--haze); font-size: 14px; }
.ftr-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #06210f; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); z-index: 40; }
.wa-float svg { width: 30px; height: 30px; }

/* Reveal (single orchestrated hero moment is handled in JS) */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .wall-col { animation: none; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Responsive */
@media (max-width: 1100px) {
    .hdr-phone { display: none; }
    .dd-panel { width: 480px; }
}
@media (max-width: 980px) {
    .section, .section--tint { padding: 80px 0; }
    .burger { display: grid; }
    .hdr.is-open .nav > .dd > button { background: none; }
    .hdr.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--night); }
    .nav, .hdr-cta { display: none; }
    .hdr.is-open .nav { display: flex; position: fixed; inset: 78px 0 0; background: var(--night); flex-direction: column; align-items: stretch; padding: 20px var(--gut) 40px; overflow-y: auto; gap: 2px; }
    .hdr.is-open .nav > a, .hdr.is-open .nav > .dd > button { font-size: 22px; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; font-family: var(--display); }
    .hdr.is-open .dd-panel { position: static; width: auto; grid-template-columns: 1fr; box-shadow: none; border: 0; background: none; padding: 6px 0 14px; }
    .hdr.is-open .nav .nav-quote { display: inline-flex; margin-top: 22px; justify-content: center; border: 0; }
    .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
    .wall { height: 380px; margin: 0 calc(var(--gut) * -1); }
    .wall-plane { inset: -60% -40% -60% -40%; grid-template-columns: repeat(3, 1fr); gap: 12px; transform: rotateX(28deg) rotateZ(-14deg) rotateY(-10deg) scale(.62); }
    .svc-row { grid-template-columns: 1fr auto; }
    .svc-row p { grid-column: 1 / -1; grid-row: 2; }
    .svc-peek { display: none; }
    .steps { grid-template-columns: 1fr 1fr; gap: 0 24px; }
    .split { grid-template-columns: 1fr; gap: 40px; }
    .offer, .offer:has(> div:nth-child(4):last-child) { grid-template-columns: 1fr 1fr; }
    .offer > div:last-child:nth-child(3n+2) { grid-column: auto; }
    .offer > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .ftr-top { grid-template-columns: 1fr 1fr; }
    .cta { padding: 48px 32px; }
}
@media (min-width: 981px) { .nav .nav-quote { display: none; } }
@media (max-width: 600px) {
    :root { --gut: 16px; }
    body { font-size: 16px; }
    .hero { padding: 32px 0 72px; }
    .wall { height: 300px; }
    .steps, .field-row, .ftr-top, .offer, .offer:has(> div:nth-child(4):last-child) { grid-template-columns: 1fr; }
    .form { padding: 22px; }
    .cta { padding: 40px 22px; border-radius: 16px; }
    .btn-row .btn { flex: 1 1 100%; justify-content: center; }
    .svc-row { padding: 24px 0; }
    .svc-row:hover { padding-left: 0; }
}

/* Legacy blog markup inside .prose */
.prose h1:not(:first-of-type) { font-size: 30px; line-height: 1.2; margin: 48px 0 14px; font-stretch: 100%; letter-spacing: -0.01em; }
.prose h5 { font: 600 19px/1.4 var(--display); margin: 28px 0 8px; color: var(--mist); }
.prose .blog-images-img img { aspect-ratio: 16 / 9; object-fit: cover; }

/* Reviews */
.reviews { columns: 3 300px; column-gap: 18px; }
.review { break-inside: avoid; margin: 0 0 18px; padding: 28px; border-radius: var(--r-lg); background: var(--plum); border: 1px solid var(--line); }
.review blockquote { margin: 0 0 22px; font: 500 19px/1.5 var(--display); color: var(--mist); }
.review figcaption b { display: block; font-weight: 600; }
.review figcaption span, .review figcaption small { display: block; color: var(--haze); font-size: 14px; }
.review figcaption small { margin-top: 6px; }
.stars { color: #ffc24b; letter-spacing: 2px; margin-bottom: 14px; font-size: 16px; }
.stars span { color: var(--line); }
.combo-group { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.combo-group h4 { font: 600 13px var(--body); color: var(--haze); letter-spacing: .02em; margin-bottom: 10px; }
.combo-group ul { margin-bottom: 10px; }
.combo-group details { margin: -4px 0 12px; }

/* Offer page */
.offer-badge { display: inline-block; font: 600 14px var(--body); padding: 8px 16px; border-radius: 999px; background: var(--grad); color: #fff; }
.countdown { display: flex; gap: 12px; justify-content: center; margin: 36px 0 6px; }
.countdown div { min-width: 92px; padding: 16px 10px; border-radius: var(--r-sm); background: var(--plum); border: 1px solid var(--line); }
.countdown b { display: block; font: 700 42px/1 var(--display); font-stretch: 85%; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 13px; color: var(--haze); }
@media (max-width: 600px) { .countdown div { min-width: 0; flex: 1; } .countdown b { font-size: 30px; } }

/* Live website previews */
.previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.browser { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 70px -40px rgba(108,43,242,.45); }
.browser-bar { height: 34px; background: var(--plum-2); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4cbe9; }
.browser-bar i:first-child { background: #ff6b6b; } .browser-bar i:nth-child(2) { background: #ffc24b; } .browser-bar i:nth-child(3) { background: #3ccf7a; }
.browser-bar span { margin-left: 8px; font-size: 12px; color: var(--haze); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-view { height: 440px; overflow: hidden; }
.browser-view img { width: 100%; height: auto; will-change: transform; }
.browser.is-playing .browser-view img { animation: peek var(--dur, 12s) ease-in-out infinite alternate; }
.browser:hover .browser-view img { animation-duration: calc(var(--dur, 12s) / 2.2); }
@keyframes peek { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(var(--dist, 0px)); } }

/* Pointer-reactive hero wall + peek following the cursor */
.wall-plane { transform: rotateX(calc(28deg + var(--ty, 0deg))) rotateZ(-14deg) rotateY(calc(-10deg + var(--tx, 0deg))); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.svc-peek { left: var(--px, 60%); right: auto; margin-left: -90px; }

/* Process progress line, filled by scroll */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--grad); }

/* Image reveals (only when JS + motion are available) */
.reveal-on [data-reveal], .reveal-on .work figure, .reveal-on .post-card, .reveal-on .review, .reveal-on .plan {
    opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal-on .is-in { opacity: 1 !important; transform: none !important; }
.work figure { position: relative; }
.work figure img, .work figure video { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.work figure:hover img { transform: scale(1.04); }

@media (max-width: 980px) {
    .previews { grid-template-columns: 1fr 1fr; }
    .previews .browser:nth-child(3) { display: none; }
    .browser-view { height: 360px; }
    .wall-plane { transform: rotateX(28deg) rotateZ(-14deg) rotateY(-10deg) scale(.62); }
}
@media (max-width: 600px) {
    .previews { grid-template-columns: 1fr; }
    .previews .browser:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .browser.is-playing .browser-view img { animation: none; }
    .wall-plane { transition: none; }
}

.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* =========================================================
   Light agency layer (2026-10): framed hero, dark/peach bands,
   floating proof cards, running marquees
   ========================================================= */
.is-dark {
    --night: #120d24; --plum: #1b1433; --plum-2: #251c42; --line: #2f2752;
    --mist: #f3effb; --haze: #aaa1c8;
    background: var(--night); color: var(--mist);
}
.band { padding: 112px 0; }
.band--peach { background: var(--peach); background-image: linear-gradient(rgba(108,43,242,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(108,43,242,.05) 1px, transparent 1px); background-size: 44px 44px; }
.section + .band, .band + .section { padding-top: 112px; }

/* Header on light */
.hdr { background: rgba(255,255,255,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav { background: var(--plum); border-radius: 999px; padding: 5px; gap: 2px; }
.nav > a, .nav > .dd > button { padding: 10px 16px; font-size: 14.5px; }
.nav > a:hover, .nav > .dd > button:hover { background: #fff; }
.hdr-cta .btn--primary, .nav .nav-quote { background: var(--peach); color: var(--mist); box-shadow: none; border: 1px solid #f6dccf; }
.hdr-cta .btn--primary:hover { box-shadow: none; background: #fbe6db; }

/* Buttons */
.btn--primary svg, .btn--soft svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; margin: -6px -12px -6px 2px; transition: transform .25s; }
.btn--primary svg { background: #fff; color: var(--violet); }
.btn--soft { background: var(--peach); color: var(--mist); border: 1px solid #f6dccf; }
.btn--soft svg { background: var(--violet); color: #fff; }
.btn--soft:hover { background: #fbe6db; }
.btn:hover svg { transform: translateX(3px); }
.is-dark .btn--ghost { background: transparent; }

/* Framed hero */
.hero2 { max-width: calc(var(--wrap) + 40px); margin: 10px auto 0; border-radius: var(--r-xl); background:
    radial-gradient(60% 70% at 85% 10%, rgba(108,43,242,.16), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(232,72,154,.10), transparent 70%), #f8f5ff; overflow: hidden; position: relative; isolation: isolate; border: 1px solid #ede7fb; }
.hero2-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding: 72px 56px 56px; }
.hero2 .display { font-size: clamp(42px, 5.6vw, 78px); line-height: 1.02; margin-top: 22px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: 14px; color: var(--haze); transition: border-color .2s; }
.pill:hover { border-color: var(--violet); color: var(--mist); }
.pill-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--grad); position: relative; }
.pill-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .6; } to { transform: scale(2.2); opacity: 0; } }

.collage { position: relative; height: 560px; }
.collage-main { position: absolute; left: 12%; right: 6%; top: 20px; bottom: 30px; border-radius: 22px; box-shadow: 0 50px 80px -40px rgba(60,20,140,.45); }
.collage-main .browser-view { height: calc(100% - 34px); }
.collage-main .browser-bar { background: #fff; }
.float-card { position: absolute; background: #fff; border-radius: 20px; box-shadow: 0 24px 50px -22px rgba(40,20,90,.35); border: 1px solid #efe9fb; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.float-stat { left: 0; top: 40px; width: 168px; padding: 18px; background: var(--ink); color: #fff; border: 0; animation-delay: -1s; }
.float-stat b { font: 600 46px/1 var(--display); letter-spacing: -0.04em; display: block; }
.float-stat span { font-size: 13px; color: #c9c0e6; display: block; margin-top: 6px; line-height: 1.35; }
.bars { display: flex; gap: 5px; align-items: end; height: 46px; margin-top: 14px; }
.bars i { flex: 1; border-radius: 4px; background: var(--violet); height: 40%; animation: bar 2.4s ease-in-out infinite alternate; }
.bars i:nth-child(2) { animation-delay: -.4s; } .bars i:nth-child(3) { animation-delay: -.8s; background: #9a6bff; }
.bars i:nth-child(4) { animation-delay: -1.2s; } .bars i:nth-child(5) { animation-delay: -1.6s; background: var(--magenta); } .bars i:nth-child(6) { animation-delay: -2s; }
@keyframes bar { from { height: 25%; } to { height: 100%; } }
.float-anim { right: -10px; bottom: 0; width: 210px; aspect-ratio: 4 / 3; overflow: hidden; padding: 0; animation-delay: -3s; }
.float-anim video { width: 100%; height: 100%; object-fit: cover; }
.float-check { left: 4%; bottom: 60px; display: flex; gap: 12px; align-items: center; padding: 14px 18px 14px 14px; animation-delay: -2s; }
.float-check .tick { width: 40px; height: 40px; border-radius: 12px; background: #e6f8ee; color: #16a34a; display: grid; place-items: center; }
.float-check .tick svg { width: 20px; height: 20px; }
.float-check b { display: block; font-size: 15px; }
.float-check span { font-size: 13px; color: var(--haze); }
.float-check span b { color: var(--mist); }
.float-thumb { right: 0; top: -6px; width: 120px; height: 100px; object-fit: cover; padding: 0; animation-delay: -4s; }

/* Running marquee of services */
.marquee { overflow: hidden; border-top: 1px solid #ebe4fb; padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: run 48s linear infinite; }
.marquee-track span { font: 500 clamp(20px, 2.2vw, 28px)/1 var(--display); letter-spacing: -0.02em; color: #8b83a6; padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); transform: rotate(45deg); margin-right: -28px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes run { to { transform: translateX(-50%); } }

/* About */
.about2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.about2-media { position: relative; height: 480px; }
.about2-a { position: absolute; left: 0; top: 0; width: 72%; height: 82%; object-fit: cover; border-radius: var(--r-xl); box-shadow: 0 40px 70px -40px rgba(60,20,140,.45); }
.about2-b { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); background: #fff; border: 6px solid #fff; box-shadow: 0 30px 60px -30px rgba(60,20,140,.45); }
.about2-badge { left: 6%; bottom: 4%; padding: 16px 18px; width: 210px; background: #16a34a; color: #fff; border: 0; }
.about2-badge b { font: 600 22px var(--display); display: block; }
.about2-badge span { font-size: 13px; opacity: .9; }

/* Showcase (dark) */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; grid-auto-flow: dense; }
.showcase figure { margin: 0; }
.showcase figure:nth-child(even) { transform: translateY(80px); }
.reveal-on .showcase figure:nth-child(even):not(.is-in) { transform: translateY(108px); }
.reveal-on .showcase figure:nth-child(even).is-in { transform: translateY(80px) !important; }
.showcase-img { border-radius: var(--r-xl); overflow: hidden; background: var(--plum); aspect-ratio: 4 / 3; }
.showcase figure.is-tall .showcase-img { aspect-ratio: 4 / 4.4; }
.showcase-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s cubic-bezier(.2,.7,.2,1), object-position 3s ease; }
.showcase figure:hover .showcase-img img { transform: scale(1.04); }
.showcase figure.is-tall:hover .showcase-img img { object-position: bottom; transform: none; }
.showcase figcaption { padding: 18px 4px 0; }
.showcase figcaption small { display: block; color: var(--haze); font-size: 14px; margin-bottom: 4px; }
.showcase figcaption b { font: 500 22px/1.25 var(--display); letter-spacing: -0.02em; }
.showcase figure[hidden] { display: none; }
.is-dark .chip { border-color: var(--line); }
.is-dark .chip[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: #fff; }

.ribbon { overflow: hidden; margin-top: 150px; }
.ribbon-track { display: flex; gap: 16px; width: max-content; animation: run 60s linear infinite reverse; }
.ribbon-track img { width: 240px; height: 180px; object-fit: cover; border-radius: 18px; opacity: .85; }

/* Service accordion */
.acc-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.acc-intro { position: sticky; top: 110px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; font: 500 clamp(20px, 1.8vw, 24px)/1.3 var(--display); letter-spacing: -0.02em; transition: color .2s, padding .3s; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { width: 22px; height: 22px; color: var(--haze); transition: transform .3s; transform: rotate(-90deg); }
.acc details[open] summary { color: var(--violet); }
.acc details[open] summary svg { transform: none; color: var(--violet); }
.acc summary:hover { padding-left: 12px; }
.acc-body { display: flex; gap: 22px; align-items: center; justify-content: space-between; padding: 0 4px 24px; animation: accIn .45s cubic-bezier(.2,.7,.2,1); }
.acc-body p { margin: 0 0 12px; color: var(--haze); max-width: 40ch; }
.acc-body a { font-weight: 600; text-decoration: none; color: var(--violet); display: inline-flex; gap: 8px; align-items: center; }
.acc-body a svg { width: 18px; height: 18px; }
.acc-body img { width: 170px; height: 120px; object-fit: cover; border-radius: 16px; flex: none; box-shadow: 0 20px 40px -24px rgba(60,20,140,.5); }
@keyframes accIn { from { opacity: 0; transform: translateY(-8px); } }

/* Process as cards */
.steps { gap: 18px; border-top: 0; padding-top: 22px; }
.steps::before { top: 0; height: 3px; border-radius: 3px; }
.steps::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: rgba(108,43,242,.12); z-index: -1; }
.step { background: #fff; border: 1px solid #f1e3da; border-radius: var(--r-lg); padding: 26px 24px 28px; transition: transform .3s, box-shadow .3s; }
.step:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(60,20,140,.35); }
.step::before { margin-bottom: 0; float: right; color: #c8bfe0; font: 600 34px/1 var(--display); }
.step-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--violet); color: #fff; margin-bottom: 22px; }
.step-ic svg { width: 22px; height: 22px; }
.section .step { background: var(--plum); border-color: var(--line); }

/* Motion band */
.motion-band { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; background: var(--ink); isolation: isolate; }
.motion-band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.motion-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,13,36,.88), rgba(18,13,36,.1) 70%); z-index: -1; }
.motion-copy { padding: 48px; color: #fff; max-width: 640px; }
.motion-copy h2 { color: #fff; }
.motion-copy p { color: rgba(255,255,255,.85); font-size: 19px; margin: 14px 0 0; }
.btn--light { background: #fff; color: var(--mist); }
.btn--light svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--violet); color: #fff; margin: -6px -12px -6px 2px; }

/* Cards, posts and plans on light */
.post-card .thumb { border-radius: var(--r-lg); border: 0; }
.plan { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.plan:hover { border-color: #d6c8fb; }
.review { background: var(--plum); }
.form { background: #fff; box-shadow: 0 40px 80px -50px rgba(60,20,140,.35); }
.field input, .field select, .field textarea { background: #fbfaff; }
.method:hover { background: var(--plum); }
.offer > div { transition: background-color .25s; }
.offer > div:hover { background: var(--plum); }
.svc-peek { box-shadow: 0 24px 40px -18px rgba(60,20,140,.45); }

/* CTA band: violet card */
.cta { background: var(--violet); background-image: radial-gradient(60% 90% at 100% 0%, rgba(232,72,154,.65), transparent 60%); }

/* Inner page hero framed like the home hero */
.phero { max-width: calc(var(--wrap) + 40px); margin: 10px auto 0; border-radius: var(--r-xl); background: radial-gradient(55% 80% at 90% 0%, rgba(108,43,242,.14), transparent 70%), #f8f5ff; border: 1px solid #ede7fb; padding: 64px 0 72px; }
.phero::before { display: none; }
.phero .wrap { padding: 0 56px; }

/* Footer: dark rounded card */
.ftr { max-width: calc(var(--wrap) + 40px); margin: 40px auto 12px; border: 0; border-radius: var(--r-xl); padding: 72px 0 30px; }
.ftr .wrap { padding: 0 56px; }
.ftr a:hover { color: #c7a8ff; }
.ftr-word { font: 600 clamp(56px, 12vw, 180px)/.9 var(--display); letter-spacing: -0.06em; margin: 56px 0 0; background: linear-gradient(180deg, #2f2752, transparent); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.ftr-bottom { margin-top: 10px; }

@media (max-width: 980px) {
    .hero2, .phero, .ftr { margin-left: 8px; margin-right: 8px; border-radius: 24px; }
    .hero2-in { grid-template-columns: 1fr; padding: 48px 24px 32px; }
    .collage { height: 440px; }
    .phero .wrap, .ftr .wrap { padding: 0 24px; }
    .band, .section + .band, .band + .section { padding: 80px 0; }
    .about2, .acc-wrap { grid-template-columns: 1fr; gap: 48px; }
    .acc-intro { position: static; }
    .showcase figure:nth-child(even), .reveal-on .showcase figure:nth-child(even).is-in { transform: translateY(48px) !important; }
    .ribbon { margin-top: 100px; }
    .nav { background: none; padding: 0; }
    .hdr.is-open .nav > a[aria-current="page"] { background: none; color: var(--violet); }
}
@media (max-width: 600px) {
    .hero2-in { padding: 36px 18px 24px; }
    .collage { height: 380px; }
    .collage-main { left: 0; right: 0; top: 50px; bottom: 50px; }
    .float-stat { top: 0; left: -4px; width: 140px; padding: 14px; }
    .float-stat b { font-size: 36px; }
    .bars { height: 30px; }
    .float-anim { width: 150px; right: -6px; }
    .float-check { left: -4px; bottom: 6px; }
    .float-thumb { display: none; }
    .about2-media { height: 360px; }
    .showcase { grid-template-columns: 1fr; }
    .showcase figure:nth-child(even), .reveal-on .showcase figure:nth-child(even).is-in { transform: none !important; }
    .acc-body img { width: 110px; height: 90px; }
    .motion-band { min-height: 440px; }
    .motion-copy { padding: 28px 22px; }
    .ribbon-track img { width: 170px; height: 130px; }
}
@media (prefers-reduced-motion: reduce) {
    .float-card, .bars i, .marquee-track, .ribbon-track, .pill-dot::after { animation: none !important; }
}
.hero2, .phero, .ftr { width: min(calc(100% - 24px), calc(var(--wrap) + 40px)); }
@media (max-width: 980px) { .hero2, .phero, .ftr { width: auto; } }
.section:has(> .wrap > .cta) { padding-bottom: 32px; }

/* ---------- Mobile menu (full-screen sheet) ---------- */
.nav-contact { display: none; }
@media (max-width: 980px) {
    .hdr.is-open .nav { border-radius: 0; background: #fff; padding: 12px var(--gut) 32px; gap: 0; }
    .hdr.is-open .nav > a, .hdr.is-open .nav > .dd > button { font: 500 26px/1.2 var(--display); letter-spacing: -0.02em; padding: 18px 2px; color: var(--mist); }
    .hdr.is-open .nav > a[aria-current="page"] { color: var(--violet); }
    .hdr.is-open .nav > * { animation: menuIn .5s cubic-bezier(.2,.7,.2,1) both; }
    .hdr.is-open .nav > *:nth-child(2) { animation-delay: .04s; } .hdr.is-open .nav > *:nth-child(3) { animation-delay: .08s; }
    .hdr.is-open .nav > *:nth-child(4) { animation-delay: .12s; } .hdr.is-open .nav > *:nth-child(5) { animation-delay: .16s; }
    .hdr.is-open .nav > *:nth-child(6) { animation-delay: .2s; } .hdr.is-open .nav > *:nth-child(7) { animation-delay: .24s; }
    .hdr.is-open .dd-panel { padding: 4px 0 12px; gap: 0; }
    .hdr.is-open .dd-panel a { padding: 11px 2px; border-radius: 0; }
    .hdr.is-open .dd-panel a span { display: none; }
    .hdr.is-open .dd-panel b { font-size: 17px; font-weight: 500; color: var(--haze); }
    .hdr.is-open .nav .nav-quote { background: var(--violet); color: #fff; border: 0; border-radius: 999px; padding: 18px 24px; font-size: 17px; margin-top: 28px; box-shadow: 0 14px 30px -14px rgba(108,43,242,.8); }
    .hdr.is-open .nav-contact { display: grid; gap: 4px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
    .nav-contact a { display: flex; align-items: center; gap: 12px; padding: 10px 2px; text-decoration: none; color: var(--haze); font-size: 16px; }
    .nav-contact svg { width: 20px; height: 20px; color: var(--violet); }
    body:has(.hdr.is-open) .wa-float { display: none; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(14px); } }

/* WhatsApp sits above the live-chat bubble */
.wa-float { bottom: 96px; width: 54px; height: 54px; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); z-index: 60; pointer-events: none; }

/* ---------- Inner page heroes ---------- */
.phero { padding-bottom: 0; }
.phero > .wrap { padding-bottom: 56px; }
.phero .marquee { border-top-color: #e6defa; }
.phero::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: 8%; bottom: -120px; background: radial-gradient(closest-side, rgba(232,72,154,.18), transparent); animation: orb 14s ease-in-out infinite alternate; z-index: -1; }
.phero { position: relative; isolation: isolate; overflow: hidden; }
@keyframes orb { to { transform: translate(-260px, -140px) scale(1.3); } }
.phero--split > .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.svc-visual { position: relative; height: 440px; }
.svc-visual-main { position: absolute; inset: 10px 4% 20px 14%; border-radius: 22px; }
.svc-visual .browser .browser-view { height: calc(100% - 34px); }
.svc-visual .browser-bar { background: #fff; }
.svc-char { background: #fff; overflow: hidden; box-shadow: 0 50px 80px -40px rgba(60,20,140,.45); border: 1px solid #efe9fb; }
.svc-char video { width: 100%; height: 100%; object-fit: contain; }
.fan { position: absolute; inset: 0; }
.fan img { position: absolute; width: 58%; aspect-ratio: 1.18; object-fit: cover; border-radius: 22px; box-shadow: 0 40px 60px -34px rgba(60,20,140,.5); border: 6px solid #fff; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.fan img:nth-child(1) { left: 6%; top: 18%; transform: rotate(-9deg); }
.fan img:nth-child(2) { left: 24%; top: 2%; transform: rotate(3deg); z-index: 2; }
.fan img:nth-child(3) { right: 0; top: 30%; transform: rotate(10deg); z-index: 1; }
.svc-visual:hover .fan img:nth-child(1) { transform: rotate(-14deg) translate(-20px, 6px); }
.svc-visual:hover .fan img:nth-child(3) { transform: rotate(15deg) translate(20px, 6px); }
.float-price { left: 0; top: 30px; padding: 16px 20px; background: var(--ink); color: #fff; border: 0; z-index: 3; animation-delay: -2s; }
.float-price small { display: block; font-size: 13px; color: #c9c0e6; }
.float-price b { font: 600 30px/1.1 var(--display); letter-spacing: -0.03em; }
.svc-visual .float-check { left: auto; right: 0; bottom: 10px; z-index: 3; }

/* ---------- Scroll motion everywhere ---------- */
.reveal-on .offer > div, .reveal-on .step, .reveal-on .method, .reveal-on .acc details, .reveal-on .faq details, .reveal-on .ticks li, .reveal-on .form, .reveal-on .countdown div {
    opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal-on .step.is-in:hover { transform: translateY(-6px) !important; }
/* Headings rise word by word */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--wi) * 55ms); }
.split-words.is-in .w > span { transform: none; }
/* Cards lift and pick up a soft glow under the cursor */
.plan, .offer > div, .method, .review { --mx: 50%; --my: 50%; }
.plan:hover, .review:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -40px rgba(60,20,140,.45); }
.plan, .review { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .2s, opacity .8s; }
.offer > div:hover, .plan:hover { background-image: radial-gradient(260px circle at var(--mx) var(--my), rgba(108,43,242,.10), transparent 70%); }

@media (max-width: 980px) {
    .phero--split > .wrap { grid-template-columns: 1fr; }
    .svc-visual { height: 360px; }
    .phero > .wrap { padding-bottom: 40px; }
}
@media (max-width: 600px) {
    .svc-visual { height: 300px; }
    .svc-visual-main { inset: 30px 0 30px 0; }
    .float-price { top: 0; padding: 12px 16px; } .float-price b { font-size: 22px; }
    .wa-float { bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
    .phero::after { animation: none; }
    .split-words .w > span { transform: none; transition: none; }
    .hdr.is-open .nav > * { animation: none; }
}
.offer:has(> div:nth-child(4):last-child) > div:last-child { grid-column: auto; }

/* =========================================================
   AI automation page
   ========================================================= */
.console-wrap { position: relative; }
.console-wrap::before { content: ""; position: absolute; inset: 8% -4% -6% 6%; border-radius: 40px; background: var(--grad); filter: blur(60px); opacity: .25; z-index: -1; }
.console, .result { background: #110c22; color: #ece8f8; border-radius: 22px; overflow: hidden; border: 1px solid #2a2248; box-shadow: 0 60px 90px -50px rgba(40,10,110,.7); font-size: 14px; }
.console .console-bar, .result .console-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #181130; border-bottom: 1px solid #2a2248; }
.console-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a305c; }
.console-bar i:first-child { background: #ff6b6b; } .console-bar i:nth-child(2) { background: #ffc24b; } .console-bar i:nth-child(3) { background: #3ccf7a; }
.console-bar span { margin-left: 10px; color: #a99fc8; font-size: 13px; }
.console-bar em { margin-left: auto; font-style: normal; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #2a2248; color: #c9bff0; }
.console-bar em.is-live { background: rgba(60,207,122,.16); color: #5be39a; }
.console-body { padding: 16px; display: grid; gap: 12px; min-height: 410px; align-content: start; }
.c-step { transition: opacity .4s, transform .5s cubic-bezier(.2,.7,.2,1); }
.console:not(.is-in) .c-step { opacity: 0; transform: translateY(8px); }
.c-in { background: #1a1333; border: 1px solid #2a2248; border-radius: 14px; padding: 12px 14px; }
.c-src { display: flex; align-items: center; gap: 10px; }
.c-ic { width: 30px; height: 30px; border-radius: 9px; background: #2a2248; display: grid; place-items: center; color: #c7a8ff; flex: none; }
.c-ic svg { width: 16px; height: 16px; }
.c-src b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-src small { margin-left: auto; color: #8f86b0; font-size: 12px; white-space: nowrap; }
.c-text { margin: 10px 0 0; color: #cfc8e6; line-height: 1.55; min-height: 66px; }
.c-ai { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: linear-gradient(90deg, rgba(108,43,242,.18), rgba(232,72,154,.10)); position: relative; overflow: hidden; }
.c-orb { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(from 0deg, #6c2bf2, #e8489a, #9a6bff, #6c2bf2); flex: none; animation: spin 2.4s linear infinite; box-shadow: 0 0 18px rgba(154,107,255,.8); }
.is-reading .c-orb { animation-duration: .7s; }
@keyframes spin { to { transform: rotate(360deg); } }
.c-status { font-weight: 500; }
.c-scan { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent); transform: translateX(-100%); }
.is-reading .c-scan { animation: scan 1s linear infinite; }
@keyframes scan { to { transform: translateX(100%); } }
.is-reading .c-in { box-shadow: 0 0 0 1px #6c2bf2, 0 0 30px -6px rgba(108,43,242,.7); }
.c-fields { display: flex; flex-wrap: wrap; gap: 8px; min-height: 36px; }
.c-chip { display: inline-flex; flex-direction: column; padding: 7px 11px; border-radius: 10px; background: #1d1638; border: 1px solid #312858; font-weight: 600; font-size: 13px; animation: pop .45s cubic-bezier(.2,1.4,.4,1) both; }
.c-chip small { font-weight: 400; color: #8f86b0; font-size: 11px; }
.c-chip.is-hot { background: rgba(232,72,154,.16); border-color: rgba(232,72,154,.5); }
.c-chip.is-warn { background: rgba(255,194,75,.12); border-color: rgba(255,194,75,.45); }
.c-chip.is-cool { background: rgba(60,207,122,.12); border-color: rgba(60,207,122,.45); }
@keyframes pop { from { opacity: 0; transform: scale(.7) translateY(6px); } }
.c-actions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.c-actions li, .r-actions li { display: flex; align-items: center; gap: 10px; animation: pop .45s ease both; }
.c-actions li span, .r-actions li span { width: 22px; height: 22px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; flex: none; }
.c-actions svg, .r-actions svg { width: 13px; height: 13px; }
.console-foot { display: flex; justify-content: space-between; gap: 10px; padding: 11px 16px; border-top: 1px solid #2a2248; color: #8f86b0; font-size: 12.5px; }
.console-foot b { color: #fff; }
.c-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3ccf7a; margin-right: 6px; box-shadow: 0 0 0 0 rgba(60,207,122,.6); animation: blip 1.6s infinite; }
@keyframes blip { 70% { box-shadow: 0 0 0 7px rgba(60,207,122,0); } 100% { box-shadow: 0 0 0 0 rgba(60,207,122,0); } }

/* Try it */
.try { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.try-samples { margin: 28px 0 14px; }
.try-form textarea { width: 100%; min-height: 170px; resize: vertical; font: 400 16px/1.55 var(--body); color: var(--mist); background: var(--plum); border: 1px solid var(--line); border-radius: 16px; padding: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.try-form textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(108,43,242,.3); }
.try-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.try-row small { color: var(--haze); }
.try-note { font-size: 13px; color: var(--haze); margin: 14px 0 0; }
.result { position: sticky; top: 100px; }
.result-body { padding: 20px; min-height: 420px; }
.result-empty { display: grid; place-items: center; text-align: center; gap: 14px; min-height: 380px; color: #a99fc8; }
.result-empty .c-orb { width: 46px; height: 46px; }
.is-working .result-empty .c-orb { animation-duration: .6s; }
.result-out.is-in > * { animation: pop .5s ease both; }
.result-out.is-in > *:nth-child(2) { animation-delay: .08s; } .result-out.is-in > *:nth-child(3) { animation-delay: .16s; }
.result-out.is-in > *:nth-child(4) { animation-delay: .24s; } .result-out.is-in > *:nth-child(5) { animation-delay: .32s; }
.r-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.r-type { font: 600 20px var(--display); margin-right: 6px; }
.r-tag { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #2a2248; color: #d6cff0; }
.r-tag[data-level="high"] { background: rgba(232,72,154,.2); color: #ff8fc4; }
.r-summary { color: #cfc8e6; margin: 12px 0 16px; }
.r-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 18px; }
.r-fields div { background: #1a1333; border: 1px solid #2a2248; border-radius: 12px; padding: 9px 12px; min-width: 0; }
.r-fields dt { font-size: 11.5px; color: #8f86b0; }
.r-fields dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.r-block { margin-top: 16px; }
.r-block h3 { font: 600 13px var(--body); color: #a99fc8; margin: 0 0 8px; letter-spacing: 0; }
.r-reply { margin: 0; padding: 14px; border-radius: 14px; background: #f6f3fd; color: #1b1630; line-height: 1.55; min-height: 60px; }
.r-actions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.r-note { margin: 18px 0 0; font-size: 13px; color: #a99fc8; border-top: 1px solid #2a2248; padding-top: 12px; }

/* Workflow map */
.flow { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; gap: 120px; align-items: center; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.flow-path { fill: none; stroke: #ddd2f7; stroke-width: 2; stroke-dasharray: 4 6; }
.flow-dot { fill: var(--violet); filter: drop-shadow(0 0 6px rgba(108,43,242,.8)); }
.flow-dot.is-out { fill: var(--magenta); filter: drop-shadow(0 0 6px rgba(232,72,154,.8)); }
.flow-col { display: grid; gap: 14px; position: relative; }
.flow-node { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 40px -30px rgba(60,20,140,.35); }
.flow-node svg { width: 22px; height: 22px; color: var(--violet); flex: none; }
.flow-node b { display: block; font-weight: 600; }
.flow-node span { font-size: 14px; color: var(--haze); line-height: 1.35; }
.flow-node span b { color: var(--mist); font-size: 16px; }
.flow-core { position: relative; width: 200px; height: 200px; display: grid; place-items: center; }
.core-in { position: relative; z-index: 1; width: 160px; height: 160px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; align-content: center; text-align: center; gap: 4px; box-shadow: 0 30px 60px -20px rgba(108,43,242,.7); }
.core-in svg { width: 30px; height: 30px; color: #c7a8ff; animation: spin 8s linear infinite; }
.core-in b { font: 600 18px var(--display); }
.core-in small { font-size: 12px; color: #c9c0e6; padding: 0 18px; line-height: 1.3; }
.core-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(108,43,242,.35); animation: ring 2.8s ease-out infinite; }
.core-ring + .core-ring { animation-delay: 1.4s; }
@keyframes ring { from { transform: scale(.75); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }

/* Savings estimate */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.calc-card { background: #fff; border-radius: var(--r-xl); padding: 32px; box-shadow: 0 40px 80px -50px rgba(60,20,140,.4); border: 1px solid #f1e3da; }
.calc-field { margin-bottom: 22px; }
.calc-field label { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; font-size: 15px; margin-bottom: 10px; }
.calc-field output { font-weight: 700; color: var(--violet); white-space: nowrap; }
.calc-field input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--violet) var(--fill, 50%), var(--plum-2) var(--fill, 50%)); outline: none; }
.calc-field input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 6px solid var(--violet); box-shadow: 0 4px 12px rgba(108,43,242,.4); cursor: pointer; }
.calc-field input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid var(--violet); cursor: pointer; }
.calc-field input[type=range]:focus-visible { box-shadow: 0 0 0 4px rgba(108,43,242,.25); }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.calc-out div { background: var(--ink); color: #fff; border-radius: 18px; padding: 18px; }
.calc-out b { display: block; font: 600 clamp(30px, 3.4vw, 44px)/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.calc-out div + div { background: var(--violet); }
.calc-out span { font-size: 13px; color: rgba(255,255,255,.8); }
.calc-note { display: block; margin-top: 12px; color: var(--haze); font-size: 13px; }

@media (max-width: 980px) {
    .try, .calc { grid-template-columns: 1fr; gap: 40px; }
    .result { position: static; }
    .flow { grid-template-columns: 1fr; gap: 18px; justify-items: center; }
    .flow-col { width: 100%; grid-template-columns: 1fr 1fr; }
    .flow-core { width: 170px; height: 170px; margin: 10px 0; }
    .core-in { width: 140px; height: 140px; }
}
@media (max-width: 600px) {
    .console-body { min-height: 440px; padding: 12px; }
    .flow-col { grid-template-columns: 1fr; }
    .r-fields { grid-template-columns: 1fr; }
    .calc-card { padding: 22px; }
    .calc-out b { font-size: 30px; }
    .try-row .btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .c-orb, .core-in svg, .core-ring, .c-dot, .c-scan { animation: none !important; }
}
.result [hidden] { display: none !important; }
