/* Home page v2 – see DESIGN.md. Loaded only by index.html. */
:root {
  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --spark: #ffb020;
  --night-2: #100c24;
  --night-line: #2a2347;
  --wash: #f7f5fc;
  --shadow-float: 0 30px 60px -20px rgba(90, 30, 208, .28), 0 12px 24px -12px rgba(20, 16, 43, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
.home .display-xl { font-family: var(--display); font-weight: 750; font-size: clamp(2.6rem, 1.4rem + 4.2vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em; font-variation-settings: "opsz" 96; }
.home .h2, .home .h2x { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; }
.home .h2x { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); line-height: 1.05; }

/* ---------- hero ---------- */
.hx { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(48px, 6vw, 88px) 0; }
.hx__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hx__bg::before { /* dot grid, fading out */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(20, 16, 43, .13) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 35%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 60% 35%, #000 30%, transparent 80%);
}
.hx__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hx__glow--brand { width: 620px; height: 620px; right: -120px; top: -80px; background: radial-gradient(circle, #a874ff 0%, rgba(138, 66, 254, .35) 45%, transparent 70%); animation: drift 14s ease-in-out infinite alternate; }
.hx__glow--spark { width: 300px; height: 300px; right: 300px; top: 360px; background: radial-gradient(circle, rgba(255, 176, 32, .55) 0%, transparent 70%); animation: drift 11s ease-in-out infinite alternate-reverse; }
.hx__mark { position: absolute; right: -60px; top: 40px; width: 560px; opacity: .07; animation: spin 90s linear infinite; }
@keyframes drift { to { transform: translate(-40px, 30px) scale(1.08); } }
@keyframes spin { to { transform: rotate(360deg); } }

.hx__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hx__copy { display: flex; flex-direction: column; gap: 24px; }
.pill-live { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20, 16, 43, .05); font-size: .875rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.pill-live b { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.pill-live b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 0 rgba(255, 176, 32, .7); animation: pulse 2s infinite; }
.pill-live:hover { border-color: var(--brand); color: var(--ink); }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(255, 176, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0); } }

.rotator { display: inline-grid; vertical-align: bottom; color: var(--brand); }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(.45em); transition: opacity .5s var(--ease), transform .5s var(--ease); white-space: nowrap; }
.rotator > span.is-on { opacity: 1; transform: none; }
.rotator > span.is-off { opacity: 0; transform: translateY(-.45em); }
.marker { background: linear-gradient(transparent 62%, rgba(255, 176, 32, .55) 62%, rgba(255, 176, 32, .55) 92%, transparent 92%); padding-inline: .06em; }

.hx__proof { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; font-family: var(--mono); font-size: .75rem; color: var(--ink-3); }
.hx__proof li { display: inline-flex; align-items: center; gap: 6px; }
.hx__proof li::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a42fe' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.4-3 7.7-7 9-4-1.3-7-4.6-7-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat; }

/* stacked product cards */
.stack-vis { position: relative; height: 520px; }
.fcard { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-float); will-change: transform; }
.fcard--inbox { left: 4%; top: 30px; width: 78%; height: 330px; overflow: hidden; display: grid; grid-template-rows: 38px 1fr; animation: floatA 8s ease-in-out infinite; }
.fcard--pay { right: 0; top: 0; width: 230px; padding: 16px; animation: floatB 7s ease-in-out infinite; }
.fcard--sms { left: 0; bottom: 18px; width: 250px; padding: 16px; animation: floatB 9s ease-in-out infinite reverse; }
.fcard--code { right: 2%; bottom: 0; width: 300px; padding: 14px 16px; background: var(--night-2); border-color: var(--night-line); color: #e6e1ff; font-family: var(--mono); font-size: .75rem; line-height: 1.7; animation: floatA 10s ease-in-out infinite reverse; }
@keyframes floatA { 50% { transform: translateY(-10px); } }
@keyframes floatB { 50% { transform: translateY(8px) rotate(-.6deg); } }
.parallax { transition: transform .25s ease-out; }

.ib__bar { background: var(--wash); display: flex; align-items: center; gap: 6px; padding-inline: 14px; border-bottom: 1px solid var(--line); }
.ib__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8d3e6; }
.ib__bar span { margin-left: 10px; font-size: .75rem; font-weight: 600; color: var(--ink-2); }
.ib__body { display: grid; grid-template-columns: 38% 1fr; min-height: 0; }
.ib__list { border-right: 1px solid var(--line); padding: 8px; display: flex; flex-direction: column; gap: 4px; background: #fcfbfe; }
.ib__row { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; padding: 7px; border-radius: 10px; font-size: .75rem; }
.ib__row.is-on { background: var(--brand-tint); }
.ib__row b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .6875rem; font-weight: 600; }
.ib__row strong { display: block; font-weight: 600; color: var(--ink); }
.ib__row small { display: block; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 110px; }
.ib__row em { font-style: normal; background: var(--brand); color: #fff; font-size: .625rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; }
.ib__chat { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: linear-gradient(#fff, #faf8ff); font-size: .75rem; }
.ib__msg { max-width: 78%; padding: 7px 10px; border-radius: 12px; background: var(--wash); color: var(--ink); line-height: 1.4; }
.ib__msg--out { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.ib__msg--bot { border: 1px dashed #cdbbff; background: #fff; }
.ib__btns { display: flex; gap: 6px; flex-wrap: wrap; }
.ib__btns span { border: 1px solid #d9c9ff; color: var(--brand-deep); border-radius: 999px; padding: 3px 9px; font-weight: 600; font-size: .6875rem; background: #fff; }
.ib__typing { display: inline-flex; gap: 3px; padding: 9px 11px; background: var(--wash); border-radius: 12px; align-self: flex-start; }
.ib__typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); animation: typing 1.2s infinite; }
.ib__typing i:nth-child(2) { animation-delay: .15s; } .ib__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.mini-label { font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.pay__amt { font-family: var(--display); font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; margin-top: 4px; }
.pay__row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: .75rem; color: var(--ink-2); }
.ok { display: inline-flex; align-items: center; gap: 5px; color: #12a150; font-weight: 600; }
.ok::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #12a150 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.1 4.8-4.7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 54px; margin-top: 12px; }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(var(--brand), #b58cff); transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.bars i:nth-child(odd) { background: linear-gradient(#c9b0ff, #e6dbff); }
@keyframes grow { from { transform: scaleY(.1); } }
.code-k { color: #c49bff; } .code-s { color: #ffd27a; } .code-c { color: #7d76a3; } .code-ok { color: #6be3a4; }
.caret { display: inline-block; width: 7px; height: 13px; background: #e6e1ff; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* client logo strip */
.strip { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); padding-block: 22px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; }
.strip__label { font-size: .8125rem; color: var(--ink-3); font-weight: 500; max-width: 150px; line-height: 1.35; }
.marquee { overflow: hidden; -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; gap: 56px; width: max-content; animation: marquee 32s linear infinite; list-style: none; align-items: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 44px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.marquee__track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.bento__item { position: relative; overflow: hidden; border-radius: 24px; padding: 28px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; min-height: 280px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.bento__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); border-color: #d5c4ff; color: var(--ink); }
.bento__item h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.bento__item p { color: var(--ink-2); font-size: .9375rem; max-width: 40ch; }
.bento__item .go { margin-top: auto; font-weight: 600; color: var(--brand-deep); display: inline-flex; gap: 6px; }
.bento__item .go::after { content: "→"; transition: transform .2s; }
.bento__item:hover .go::after { transform: translateX(4px); }
.bento__item--hero { grid-row: span 2; background: var(--night-2); border-color: var(--night-line); color: #fff; padding: 32px; }
.bento__item--hero:hover { color: #fff; border-color: #4b3a8f; }
.bento__item--hero h3 { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.4rem); color: #fff; }
.bento__item--hero p { color: #c9c4e3; }
.bento__item--hero .go { color: #fff; }
.bento__item--hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(138, 66, 254, .55), transparent 65%); filter: blur(20px); }
.bento__badge { align-self: flex-start; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .16); }
.bento__vis { margin-top: 8px; }
.wave { display: flex; align-items: center; gap: 3px; height: 44px; }
.wave i { width: 4px; border-radius: 2px; background: var(--brand); animation: wave 1.1s ease-in-out infinite; }
@keyframes wave { 50% { transform: scaleY(.35); } }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-row span { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--wash); border: 1px solid var(--line); color: var(--ink-2); }
.pipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pipe div { background: var(--wash); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 5px; min-height: 76px; }
.pipe small { font-size: .625rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.pipe i { height: 14px; border-radius: 5px; background: #fff; border: 1px solid var(--line); }
.pipe i.hot { border-color: var(--brand); background: var(--brand-tint); animation: hop 4s var(--ease) infinite; }
@keyframes hop { 0%, 40% { transform: none; } 50%, 90% { transform: translateX(calc(100% + 22px)); } 100% { transform: none; } }

/* ---------- dark developer band ---------- */
.night { position: relative; overflow: hidden; isolation: isolate; background: var(--night-2); color: #fff; padding-block: clamp(72px, 8vw, 120px) 0; }
.night::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 20% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 20% 0%, #000 20%, transparent 75%); opacity: .7; }
.night::after { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(138, 66, 254, .45), transparent 65%); filter: blur(30px); }
.night .h2x { color: #fff; }
.night__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.tagline { font-family: var(--mono); font-size: .875rem; color: #b997ff; }
.night p.lead { color: #c9c4e3; }
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; list-style: none; margin-top: 8px; }
.caps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.caps svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(138, 66, 254, .16); border: 1px solid rgba(185, 151, 255, .25); color: #cdb4ff; }
.caps strong { display: block; color: #fff; font-weight: 600; }
.caps span { color: #a9a3c9; font-size: .875rem; }
.term { background: #0b0819; border: 1px solid var(--night-line); border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(138, 66, 254, .45); overflow: hidden; }
.term__bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--night-line); }
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3260; }
.term__bar span { margin-left: 8px; font-family: var(--mono); font-size: .75rem; color: #8f88b5; }
.term pre { margin: 0; padding: 18px; font-family: var(--mono); font-size: .8125rem; line-height: 1.8; color: #e6e1ff; white-space: pre-wrap; min-height: 260px; }
.tech-rows { margin-top: clamp(56px, 6vw, 88px); border-top: 1px solid var(--night-line); padding-block: 18px; display: flex; flex-direction: column; gap: 10px; }
.tech-rows .marquee__track { gap: 14px; animation-duration: 40s; }
.tech-rows .marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 46s; }
.tech-rows li { font-family: var(--mono); font-size: .8125rem; color: #cfc8f0; padding: 6px 14px; border: 1px solid var(--night-line); border-radius: 999px; white-space: nowrap; }
.tech-rows li.hl { color: var(--spark); border-color: rgba(255, 176, 32, .35); }

/* ---------- scroll reveal (only when JS is on and motion is allowed) ---------- */
.js-motion .hx__copy > * { animation: rise .8s var(--ease) both; }
.js-motion .hx__copy > *:nth-child(2) { animation-delay: .08s; } .js-motion .hx__copy > *:nth-child(3) { animation-delay: .16s; }
.js-motion .hx__copy > *:nth-child(4) { animation-delay: .24s; } .js-motion .hx__copy > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 1080px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__item--hero { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 960px) {
  .hx__grid, .night__grid { grid-template-columns: minmax(0, 1fr); }
  .stack-vis { height: 460px; max-width: 560px; width: 100%; margin-inline: auto; }
  .hx__mark { width: 380px; }
}
@media (max-width: 640px) {
  .stack-vis { height: 400px; }
  .fcard--inbox { width: 92%; left: 0; height: 280px; }
  .fcard--pay { width: 180px; top: -12px; }
  .fcard--sms { display: none; }
  .fcard--code { width: 240px; font-size: .6875rem; }
  .ib__row small { max-width: 70px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .caps { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx__glow, .hx__mark, .fcard, .marquee__track, .wave i, .pipe i.hot, .bars i, .ib__typing i, .pill-live b::before, .caret { animation: none !important; }
  .rotator > span { transition: none; }
}

/* sketch details: bar heights, wave, avatars */
.bars i:nth-child(1) { height: 40%; animation-delay: 0.00s; }
.bars i:nth-child(2) { height: 62%; animation-delay: 0.08s; }
.bars i:nth-child(3) { height: 48%; animation-delay: 0.16s; }
.bars i:nth-child(4) { height: 80%; animation-delay: 0.24s; }
.bars i:nth-child(5) { height: 66%; animation-delay: 0.32s; }
.bars i:nth-child(6) { height: 92%; animation-delay: 0.40s; }
.bars i:nth-child(7) { height: 74%; animation-delay: 0.48s; }
.wave i:nth-child(1) { height: 30%; animation-delay: 0.00s; }
.wave i:nth-child(2) { height: 70%; animation-delay: 0.10s; }
.wave i:nth-child(3) { height: 45%; animation-delay: 0.20s; }
.wave i:nth-child(4) { height: 90%; animation-delay: 0.30s; }
.wave i:nth-child(5) { height: 60%; animation-delay: 0.40s; }
.wave i:nth-child(6) { height: 80%; animation-delay: 0.50s; }
.wave i:nth-child(7) { height: 40%; animation-delay: 0.60s; }
.wave i:nth-child(8) { height: 75%; animation-delay: 0.70s; }
.wave i:nth-child(9) { height: 50%; animation-delay: 0.80s; }
.wave i:nth-child(10) { height: 85%; animation-delay: 0.90s; }
.wave i:nth-child(11) { height: 35%; animation-delay: 1.00s; }
.wave i:nth-child(12) { height: 65%; animation-delay: 0.00s; }
.wave i:nth-child(13) { height: 45%; animation-delay: 0.10s; }
.wave i:nth-child(14) { height: 70%; animation-delay: 0.20s; }
.av1 { background: #8a42fe; } .av2 { background: #f0803c; } .av3 { background: #12a150; } .av4 { background: #2f6bff; }

/* headline layout + WaBizBox card conversation */
.home .display-xl { font-size: clamp(2.5rem, 1.3rem + 3.6vw, 4.1rem); }
.rotator { display: inline-grid; }
@media (min-width: 1081px) { .nowrap { white-space: nowrap; } }
.hx__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.fcard--inbox { width: 74%; }
.fcard--pay { top: -14px; right: -8px; width: 210px; }
.wbx { position: relative; margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: .8125rem; padding-top: 18px; }
.wbx__msg { max-width: 80%; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12); color: #fff; }
.wbx__msg--bot { align-self: flex-end; background: var(--brand); border-color: transparent; border-bottom-right-radius: 4px; }
.wbx__btns { align-self: flex-end; display: flex; gap: 6px; }
.wbx__btns span { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(205, 180, 255, .45); color: #e3d5ff; font-weight: 600; font-size: .75rem; }
.wbx__assign { align-self: center; display: inline-flex; align-items: center; gap: 8px; color: #a9a3c9; font-size: .75rem; padding: 4px 10px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.wbx__assign b { width: 22px; height: 22px; border-radius: 50%; background: #f0803c; color: #fff; display: grid; place-items: center; font-size: .625rem; }
.bento__item--hero .go { margin-top: 18px; }

/* ---------- timeline (how we work) ---------- */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; padding-top: 34px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; border-radius: 2px; }
.timeline::before { background: var(--line); }
.timeline::after { background: linear-gradient(90deg, var(--brand), #b58cff); transform-origin: left; transform: scaleX(1); }
.reveal-ready .timeline::after { transform: scaleX(0); transition: transform 1.8s var(--ease) .2s; }
.reveal-ready .timeline.is-in::after { transform: scaleX(1); }
.timeline__step { display: flex; flex-direction: column; gap: 8px; position: relative; }
.timeline__dot { position: absolute; top: -34px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: 0 0 0 5px var(--brand-tint); }
.reveal-ready .timeline__dot { transform: scale(.4); opacity: .3; transition: transform .4s var(--ease), opacity .4s; }
.reveal-ready .timeline.is-in .timeline__dot { transform: none; opacity: 1; }
.reveal-ready .timeline.is-in .timeline__step:nth-child(2) .timeline__dot { transition-delay: .6s; }
.reveal-ready .timeline.is-in .timeline__step:nth-child(3) .timeline__dot { transition-delay: 1.1s; }
.reveal-ready .timeline.is-in .timeline__step:nth-child(4) .timeline__dot { transition-delay: 1.6s; }
.timeline__n { font-family: var(--display); font-size: 2.75rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #c9b0ff; }
.timeline__step p { color: var(--ink-2); font-size: .9375rem; }

/* ---------- expanding photo panels (strategic outcomes) ---------- */
.panels { display: flex; gap: 14px; height: 440px; }
.panel { position: relative; flex: 1; min-width: 0; border-radius: 22px; overflow: hidden; cursor: default; transition: flex .6s var(--ease); outline-offset: 3px; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform .8s var(--ease); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 12, 36, .05) 25%, rgba(16, 12, 36, .88) 100%); }
.panel__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px; color: #fff; display: flex; flex-direction: column; gap: 10px; }
.panel__n { font-family: var(--mono); font-size: .75rem; color: #d9c6ff; }
.panel h3 { font-family: var(--display); font-size: 1.375rem; font-weight: 700; color: #fff; line-height: 1.15; }
.panel ul { list-style: none; display: grid; gap: 4px; font-size: .875rem; color: #e4def8; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s; }
.panel li::before { content: "— "; color: var(--spark); }
.panel:hover, .panel:focus-visible, .panel:focus-within { flex: 2.2; }
.panel:hover img, .panel:focus-visible img { transform: scale(1); }
.panel:hover ul, .panel:focus-visible ul { max-height: 140px; opacity: 1; }
.panels:not(:hover):not(:focus-within) .panel:first-child { flex: 2.2; }
.panels:not(:hover):not(:focus-within) .panel:first-child ul { max-height: 140px; opacity: 1; }

/* ---------- industries strip ---------- */
.ind-rows { display: flex; flex-direction: column; gap: 12px; }
.ind-rows .marquee__track { gap: 12px; animation-duration: 48s; }
.ind-rows .marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 54s; }
.ind-rows li { white-space: nowrap; padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9375rem; color: var(--ink); box-shadow: 0 1px 2px rgba(20, 16, 43, .04); }
.ind-rows li:nth-child(4n+1) { background: var(--brand-tint); border-color: #e0d0ff; color: var(--brand-deep); }
.ind-rows li:nth-child(7n+3) { background: #fff6e3; border-color: #ffe2a8; color: #8a5a00; }

/* ---------- clients: counters + quote rotator ---------- */
.proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.counters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.counters > div { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column-reverse; gap: 2px; }
.counters > div:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.counters > div:nth-child(even) { padding-left: 24px; }
.counters dt { color: var(--ink-3); font-size: .9375rem; }
.counters dd { margin: 0; font-family: var(--display); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.quote-rot { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px 36px 28px; box-shadow: var(--shadow-float); display: grid; min-height: 330px; }
.quote-rot__mark { position: absolute; top: -18px; left: 28px; font-family: var(--display); font-size: 6rem; line-height: 1; color: var(--brand); }
.quote-rot__item { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; gap: 22px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s; }
.quote-rot__item.is-on { opacity: 1; visibility: visible; transform: none; }
.quote-rot blockquote { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); line-height: 1.35; letter-spacing: -.01em; }
.quote-rot figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote-rot figcaption img { width: 72px; height: 38px; object-fit: contain; background: var(--wash); border-radius: 8px; padding: 4px; }
.quote-rot figcaption strong { display: block; }
.quote-rot figcaption span { font-size: .875rem; color: var(--ink-3); }
.quote-rot__dots { grid-area: 2 / 1; display: flex; gap: 8px; margin-top: 22px; }
.quote-rot__dots button { width: 28px; height: 6px; border-radius: 3px; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: background .2s, width .3s; }
.quote-rot__dots button[aria-pressed="true"] { width: 44px; background: var(--brand); }

/* ---------- recent work ---------- */
.work-x { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; height: 560px; }
.work-x__item { position: relative; border-radius: 22px; overflow: hidden; display: block; color: #fff; text-decoration: none; border: 1px solid var(--line); background: var(--wash); }
.work-x__item--big { grid-row: span 2; }
.work-x__item img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.work-x__item:hover img { transform: scale(1.04); }
.work-x__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(16, 12, 36, .85)); }
.work-x__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.work-x__cap span { font-size: .8125rem; color: #ddd5f7; }
.work-x__cap h3 { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: #fff; }
.work-x__item--big .work-x__cap h3 { font-size: 2rem; }
.work-x__cap p { color: #e4def8; font-size: .9375rem; }
.work-x__item:hover { color: #fff; }

/* ---------- plans: dark featured ---------- */
.plan--dark { background: var(--night-2); border: 1px solid var(--night-line); color: #fff; box-shadow: 0 30px 60px -24px rgba(90, 30, 208, .5); position: relative; overflow: hidden; }
.plan--dark::before { content: ""; position: absolute; width: 360px; height: 360px; right: -150px; top: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(138, 66, 254, .55), transparent 65%); }
.plan--dark > * { position: relative; }
.plan--dark .h3, .plan--dark .plan__price { color: #fff; }
.plan--dark > p, .plan--dark .plan__price small { color: #c9c4e3; }
.plan--dark ul { border-top-color: var(--night-line); color: #e4def8; }
.plan--dark li::before { background-color: rgba(138, 66, 254, .25); }
.plan--dark .badge { background: var(--spark); color: var(--night-2); }
.plan--dark .tbc { color: var(--ink); }

/* ---------- IT strategy checks ---------- */
.strategy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s; }
.checks li:hover { transform: translateX(6px); border-color: #d5c4ff; }
.checks strong { display: block; font-weight: 600; }
.checks span { color: var(--ink-2); font-size: .9375rem; }
.checks__i { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a1ed0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/20px no-repeat; }

/* ---------- from Noida to the world ---------- */
.night--short { padding-block: clamp(72px, 8vw, 112px); }
.night .section-head p.world__lead { color: #c9c4e3; }
.route { position: relative; height: 160px; margin-block: 8px 24px; }
.route svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route__line { fill: none; stroke: #8a42fe; stroke-width: 2.5; stroke-dasharray: 8 10; vector-effect: non-scaling-stroke; }
.reveal-ready .route .route__line { stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 2.4s var(--ease); }
.reveal-ready .route.is-in .route__line { stroke-dashoffset: 0; }
.route__pin { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .8125rem; color: #fff; background: rgba(16, 12, 36, .8); border: 1px solid #4b3a8f; padding: 5px 12px 5px 8px; border-radius: 999px; white-space: nowrap; }
.route__pin::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 4px rgba(255, 176, 32, .25); animation: pulse 2.2s infinite; }
.route__pin--1 { left: 6%; top: 75%; } .route__pin--2 { left: 50%; top: 50%; } .route__pin--3 { left: 94%; top: 31%; }
.world { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.world__card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--night-line); color: #fff; text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
a.world__card:hover { border-color: #6b55c4; transform: translateY(-4px); color: #fff; }
.world__card .mono { color: #b997ff; font-size: .75rem; }
.world__card h3 { font-family: var(--display); font-weight: 700; font-size: 1.375rem; color: #fff; }
.world__card p { color: #c9c4e3; font-size: .9375rem; }
.world__card .go { margin-top: auto; font-weight: 600; color: #fff; }
.world__card .go::after { content: " \2192"; }
.world__card .tbc { color: var(--ink); }

/* ---------- registered company ---------- */
.registered { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }

@media (max-width: 960px) {
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; padding-top: 0; }
  .timeline::before, .timeline::after, .timeline__dot { display: none; }
  .panels { flex-direction: column; height: auto; }
  .panel { min-height: 220px; flex: none !important; }
  .panel ul { max-height: none; opacity: 1; }
  .proof, .strategy, .registered { grid-template-columns: minmax(0, 1fr); }
  .work-x { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; height: auto; }
  .work-x__item { aspect-ratio: 16 / 10; }
  .work-x__item--big { grid-row: auto; }
  .world { grid-template-columns: minmax(0, 1fr); }
  .route { display: none; }
}
@media (max-width: 640px) {
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .counters dd { font-size: 2.4rem; }
  .quote-rot { padding: 36px 22px 22px; min-height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .panel, .panel img, .panel ul, .quote-rot__item, .checks li, .world__card { transition: none !important; }
  .route__pin::before { animation: none; }
}
.work-x__item--big img { object-position: left top; }
.work-x__item::after { background: linear-gradient(180deg, transparent 28%, rgba(16, 12, 36, .7) 58%, rgba(16, 12, 36, .96) 100%); }
/* phone and tablet: hero in one column (must come after the desktop grid rule above) */
@media (max-width: 960px) {
  .hx__grid { grid-template-columns: minmax(0, 1fr); }
  .hx__copy { padding-top: 0; }
}
@media (max-width: 640px) {
  .hx__proof { font-size: .6875rem; gap: 4px 14px; }
  .pill-live { font-size: .8125rem; }
  .strip__label { max-width: none; }
}
.marker { white-space: nowrap; }

/* awards (old site: "Best Practices & Recommendations") */
.awards { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.awards li { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.awards svg { width: 40px; height: 40px; color: #d99a12; }
.awards strong { display: block; font-family: var(--display); font-weight: 700; }
.awards span { font-family: var(--mono); font-size: .8125rem; color: var(--ink-3); }
