/* Aneotech studio site.
   Colour rule: each service owns one colour (web design orange, web apps blue, mobile violet,
   automation lime, voicebots pink) and that colour follows it everywhere: hero pill, band star,
   bento card, contact chip. Stunett is teal, Niruvi lavender. Everything else is ink on paper. */

:root {
  color-scheme: light;

  --paper: #f4f1ea;
  --paper-2: #e9e4d8;
  --card: #fffdf8;
  --ink: #0d0d12;
  --ink-2: #34343f;
  --ink-3: #6a6a76;
  --line: rgba(13, 13, 18, .12);
  --line-2: rgba(13, 13, 18, .24);

  --orange: #ff5b23;
  --blue: #2b59ff;
  --violet: #8a4dff;
  --lime: #c5f24b;
  --pink: #ff3e9a;
  --yellow: #ffc93c;
  --teal: #12c29a;
  --lavender: #b79cff;

  --night: #0b0b10;
  --night-2: #13131b;
  --night-3: #1b1b25;
  --night-line: rgba(255, 255, 255, .1);
  --night-ink: #f4f1ea;
  --night-mute: #a9a8b6;

  --spectrum: linear-gradient(90deg, var(--orange), var(--pink), var(--violet), var(--blue), var(--teal), var(--lime));
  --spectrum-soft: linear-gradient(90deg, #ffb59a, #ffa3cf, #cbb0ff, #a9bbff, #9ee8d3, #def99b);

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-body: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* film grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 10px; }

.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 10px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { left: 12px; }

/* ------------------------------------------------------------ progress + cursor */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--spectrum); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; mix-blend-mode: difference; will-change: transform; }
.cursor i { display: block; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease), opacity .3s; }
.cursor.is-hover i { transform: scale(3.6); }
.cursor.is-off i { opacity: 0; }

/* ------------------------------------------------------------ buttons */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font: 600 1rem/1 var(--f-body); padding: .85em 1.3em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn .i { transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-lg { padding: 1.05em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--spectrum-soft); opacity: 0; transition: opacity .35s; }
.btn-ink:hover { color: var(--ink); border-color: var(--ink); }
.btn-ink:hover::before { opacity: 1; }
.btn-ghost { background: rgba(255, 253, 248, .55); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--card); border-color: var(--ink); }
.btn-light { background: var(--night-ink); color: var(--night); }
.btn-light:hover { background: var(--lime); }
.btn-line { border-color: rgba(255, 255, 255, .3); color: var(--night-ink); }
.btn-line:hover { border-color: var(--night-ink); background: rgba(255, 255, 255, .06); }

/* ------------------------------------------------------------ header */
.head {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 50; margin-inline: auto;
  width: min(100% - 2 * var(--gutter), 1260px); height: 62px;
  display: flex; align-items: center; gap: 16px; padding: 0 7px 0 16px; border-radius: 999px;
}
/* frosted backing lives on a pseudo-element so the fixed mobile menu isn't trapped inside it */
.head::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0;
  background: rgba(255, 253, 248, .74); border: 1px solid var(--line);
  box-shadow: 0 12px 34px -20px rgba(13, 13, 18, .4);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  transition: opacity .35s;
}
.head.is-scrolled::before { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.3rem/1 var(--f-display); letter-spacing: -.045em; position: relative; z-index: 2; transition: color .3s; }
.mark { width: 32px; height: 32px; transition: transform .6s var(--ease); }
.mark circle { mix-blend-mode: multiply; }
.brand:hover .mark { transform: rotate(72deg); }

.nav { margin-inline: auto; display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255, 253, 248, .6); border: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background .3s, border-color .3s; }
.head.is-scrolled .nav { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav a { padding: .55em 1.05em; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--ink-2); transition: background-color .25s, color .25s; }
.nav a:hover { background: rgba(13, 13, 18, .06); color: var(--ink); }
.nav a.is-active { background: var(--ink); color: var(--paper); }
.nav .nav-cta-m { display: none; }
.head-cta { padding: .8em 1.2em; }

.menu { display: none; position: relative; z-index: 2; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; transition: background .3s; }
.menu span { position: absolute; left: 15px; right: 15px; height: 2px; border-radius: 2px; background: var(--paper); transition: transform .35s var(--ease), top .35s var(--ease), background .3s; }
.menu span:nth-child(1) { top: 20px; }
.menu span:nth-child(2) { top: 27px; }
.menu[aria-expanded="true"] { background: var(--paper); }
.menu[aria-expanded="true"] span { background: var(--ink); top: 23.5px; }
.menu[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }

/* ------------------------------------------------------------ reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: clamp(120px, 17vh, 180px) 0 clamp(40px, 7vh, 72px); overflow: hidden; isolation: isolate; }
.hero-in { position: relative; z-index: 2; }

.orbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; transition: transform 1.2s var(--ease); }
.orbs i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; mix-blend-mode: multiply; animation: drift 18s ease-in-out infinite alternate; }
.orbs .o1 { width: 40vw; height: 40vw; background: var(--orange); top: 2%; right: -8%; }
.orbs .o2 { width: 30vw; height: 30vw; background: var(--pink); top: 34%; right: 16%; animation-delay: -4s; }
.orbs .o3 { width: 30vw; height: 30vw; background: var(--violet); top: -10%; right: 28%; animation-delay: -8s; }
.orbs .o4 { width: 26vw; height: 26vw; background: var(--lime); top: 50%; right: -6%; animation-delay: -12s; opacity: .85; }
.orbs .o5 { width: 22vw; height: 22vw; background: var(--blue); top: 14%; right: 48%; opacity: .45; animation-delay: -6s; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-4vw, 3vw) scale(1.08); }
  100% { transform: translate(3vw, -2vw) scale(.94); }
}

.announce {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(22px, 3vw, 34px);
  padding: 9px 16px 9px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  font-size: .92rem; font-weight: 500; box-shadow: 0 10px 26px -18px rgba(13, 13, 18, .5);
}
.announce .i { transition: transform .35s var(--ease); }
.announce:hover .i { transform: translateX(4px); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); flex: none; animation: ping 2.2s infinite; }
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(18, 194, 154, .5); }
  70%  { box-shadow: 0 0 0 10px rgba(18, 194, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 194, 154, 0); }
}

.hero-title { font: 800 clamp(3rem, 1rem + 8.2vw, 9.4rem)/.9 var(--f-display); letter-spacing: -.055em; }
.hero-title .ln { display: block; }
.shine, h2 em, .contact h2 em { font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: -.02em; }
.shine {
  font-size: 1.14em; line-height: .8; padding-right: .06em;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--violet), var(--blue), var(--teal), var(--orange));
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sweep 7s linear infinite;
}
@keyframes sweep { to { background-position: 200% 0; } }

.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-top: clamp(26px, 4vw, 46px); }
.hero-lede { max-width: 46ch; font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); line-height: 1.55; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(26px, 4vw, 42px); }
.pills li { display: inline-flex; align-items: center; gap: 9px; padding: .6em 1.05em; border-radius: 999px; border: 1.5px solid var(--line-2); background: rgba(255, 253, 248, .45); font: 500 .9rem/1 var(--f-mono); transition: background-color .45s, border-color .45s, color .45s, transform .45s var(--ease); }
.pills li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); transition: background-color .45s; }
.pills li.is-lit { background: var(--c); border-color: var(--ink); color: var(--on, var(--ink)); transform: translateY(-3px); }
.pills li.is-lit::before { background: currentColor; }

.sticker { position: absolute; z-index: 3; right: calc(var(--gutter) + 2vw); top: clamp(130px, 24vh, 240px); width: clamp(116px, 10vw, 150px); aspect-ratio: 1; display: grid; place-items: center; }
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.sticker text { font: 600 15px var(--f-mono); fill: var(--ink); }
.sticker-core { width: 46%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-size: 1.5rem; transition: transform .45s var(--ease), background-color .3s, color .3s; }
.sticker:hover .sticker-core { transform: scale(1.12) rotate(45deg); background: var(--lime); color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ crossing bands */
.bands { position: relative; height: clamp(170px, 18vw, 250px); overflow: hidden; }
.band { position: absolute; left: -3%; right: -3%; top: 50%; padding: clamp(14px, 1.6vw, 22px) 0; overflow: hidden; }
.band-1 { background: var(--ink); color: var(--paper); transform: translateY(-50%) rotate(-3deg); z-index: 1; }
.band-2 { background: var(--lime); color: var(--ink); transform: translateY(-50%) rotate(2.4deg); border-block: 1.5px solid var(--ink); }
.track { display: flex; align-items: center; width: max-content; animation: marquee 34s linear infinite; }
.band-2 .track { animation-direction: reverse; animation-duration: 40s; }
.track span { font: 700 clamp(1.5rem, 1rem + 2.4vw, 3.2rem)/1 var(--f-display); letter-spacing: -.04em; padding-inline: .45em; white-space: nowrap; }
.track span.o { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.band-1 .track span.o { -webkit-text-stroke-color: var(--paper); }
.band-2 .track span.o { -webkit-text-stroke-color: var(--ink); }
.track b { font-size: clamp(1.2rem, .9rem + 1.6vw, 2.4rem); line-height: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ section scaffolding */
.sec { padding-block: clamp(64px, 8vw, 116px); }
.bands + .sec { padding-top: clamp(40px, 5vw, 72px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 22px 48px; align-items: end; margin-bottom: clamp(38px, 5vw, 66px); }
.kicker { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font: 500 .82rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .16em; color: var(--ink-3); }
.idx { color: var(--ink); }
.sec h2, .contact h2 { font: 700 clamp(2.4rem, 1rem + 4.8vw, 5.4rem)/.95 var(--f-display); letter-spacing: -.05em; }
h2 em { font-size: 1.1em; line-height: .9; }
.lede { color: var(--ink-2); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.55; max-width: 40ch; justify-self: end; padding-bottom: .35em; }

/* ------------------------------------------------------------ services bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.svc {
  grid-column: span 2; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  min-height: clamp(460px, 38vw, 540px); padding: clamp(22px, 2.4vw, 32px); border-radius: clamp(24px, 2.4vw, 34px);
  background: var(--c); color: var(--on);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.svc.wide { grid-column: span 3; }
.svc:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 34px 60px -32px color-mix(in srgb, var(--c) 70%, #000); }
.svc-top { display: flex; justify-content: space-between; align-items: center; }
.svc-n { font: 500 .85rem/1 var(--f-mono); letter-spacing: .12em; opacity: .85; }
.svc-go { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; font-size: 1.15rem; transition: transform .45s var(--ease), background-color .3s, color .3s; }
.svc:hover .svc-go { transform: rotate(45deg); background: var(--on); color: var(--c); }
.svc h3 { font: 700 clamp(1.65rem, 1.1rem + 1.5vw, 2.5rem)/1 var(--f-display); letter-spacing: -.045em; }
.svc p { max-width: 38ch; font-size: 1.02rem; line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font: 500 .76rem/1 var(--f-mono); padding: .55em .8em; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 38%, transparent); }
.art { position: relative; margin-top: auto; height: clamp(160px, 13vw, 190px); }

/* 01 web design: a browser window, brutalist shadow, a pointer that moves on hover */
.win { position: absolute; left: 0; right: 14%; top: 4px; bottom: -40px; background: var(--card); border: 1.5px solid var(--ink); border-radius: 16px 16px 0 0; box-shadow: 8px 8px 0 var(--ink); }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1.5px solid var(--ink); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }
.win-bar i:nth-child(1) { background: var(--pink); }
.win-bar i:nth-child(2) { background: var(--yellow); }
.win-bar i:nth-child(3) { background: var(--lime); }
.win-url { margin-left: 10px; font: 500 .7rem/1 var(--f-mono); padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.win-body { padding: 14px; display: grid; gap: 12px; }
.wb-hero b { display: block; height: 12px; width: 72%; border-radius: 6px; background: var(--ink); }
.wb-hero b.s { width: 46%; margin-top: 7px; background: var(--paper-2); }
.wb-btn { display: inline-block; width: 78px; height: 22px; margin-top: 11px; border-radius: 999px; background: var(--orange); border: 1.5px solid var(--ink); }
.wb-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wb-cols span { height: 46px; border-radius: 9px; background: var(--paper-2); }
.wb-cols span:nth-child(1) { background: var(--blue); }
.wb-cols span:nth-child(2) { background: var(--pink); }
.pointer { position: absolute; width: 30px; height: 30px; right: 26%; top: 50%; fill: var(--ink); stroke: var(--card); stroke-width: 1.4; stroke-linejoin: round; transition: transform .9s var(--ease); }
.svc:hover .pointer { transform: translate(-70px, 26px) rotate(-8deg); }

/* 02 web apps: glass dashboard with bars that grow in */
.dash { position: absolute; inset: 4px 0 -40px; display: grid; grid-template-rows: auto 1fr; gap: 12px; padding: 14px 14px 52px; border-radius: 16px 16px 0 0; background: rgba(255, 255, 255, .13); border: 1.5px solid rgba(255, 255, 255, .42); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpis span { padding: 8px 10px; border-radius: 11px; background: rgba(255, 255, 255, .14); min-width: 0; }
.kpis small { display: block; font: 500 .62rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.kpis b { font: 700 1rem/1.3 var(--f-display); letter-spacing: -.03em; }
.bars { display: flex; align-items: flex-end; gap: 7px; min-height: 0; }
.bars i { flex: 1; height: var(--h); border-radius: 7px 7px 2px 2px; background: var(--card); transform-origin: bottom; transition: transform 1.1s var(--ease); }
.bars i:last-child { background: var(--lime); }
.js .svc:not(.is-in) .bars i { transform: scaleY(.2); }
.bars i:nth-child(2) { transition-delay: .05s; } .bars i:nth-child(3) { transition-delay: .1s; } .bars i:nth-child(4) { transition-delay: .15s; }
.bars i:nth-child(5) { transition-delay: .2s; } .bars i:nth-child(6) { transition-delay: .25s; } .bars i:nth-child(7) { transition-delay: .3s; } .bars i:nth-child(8) { transition-delay: .35s; }

/* 03 mobile: a tilted phone that straightens on hover */
.phone { position: absolute; left: 50%; bottom: -54px; width: 148px; height: 226px; padding: 24px 12px 12px; border-radius: 30px; background: var(--night); border: 5px solid var(--night); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .08); transform: translateX(-50%) rotate(-9deg); transition: transform .7s var(--ease); }
.svc:hover .phone { transform: translateX(-50%) rotate(0deg) translateY(-12px); }
.notch { position: absolute; top: 8px; left: 50%; width: 46px; height: 9px; border-radius: 999px; background: #000; transform: translateX(-50%); }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.apps i { aspect-ratio: 1; border-radius: 11px; background: var(--orange); }
.apps i:nth-child(2) { background: var(--lime); } .apps i:nth-child(3) { background: var(--pink); }
.apps i:nth-child(4) { background: var(--blue); } .apps i:nth-child(5) { background: var(--yellow); } .apps i:nth-child(6) { background: var(--teal); }
.tabbar { position: absolute; left: 22px; right: 22px; bottom: 14px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .3); }
.toast { position: absolute; z-index: 1; left: 0; top: 6%; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 13px; background: var(--card); color: var(--ink); font: 600 .8rem/1 var(--f-body); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .55); transform: rotate(-5deg); }
.toast i { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }

/* 04 automation: three workflow steps that pop in one after another */
.art-flow { display: grid; align-content: end; gap: 9px; }
.node { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; padding: 9px 13px; border-radius: 14px; background: var(--card); border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font: 600 .88rem/1.2 var(--f-body); color: var(--ink); }
.node i { width: 22px; height: 22px; border-radius: 7px; background: var(--n); border: 1.5px solid var(--ink); flex: none; }
.node small { margin-left: 6px; font: 500 .7rem/1 var(--f-mono); color: var(--ink-3); }
.node:nth-child(2) { margin-left: 11%; }
.node:nth-child(3) { margin-left: 22%; }
.js .svc .node { opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .svc.is-in .node { opacity: 1; transform: none; }
.js .svc.is-in .node:nth-child(2) { transition-delay: .35s; }
.js .svc.is-in .node:nth-child(3) { transition-delay: .7s; }

/* 05 voicebots: a talking waveform and a two-line chat */
.art-voice { display: grid; align-content: end; gap: 9px; }
.wave { display: flex; align-items: center; gap: 4px; height: 52px; }
.wave i { flex: 1; max-width: 7px; height: 100%; border-radius: 999px; background: var(--ink); transform: scaleY(.2); animation: talk 1.15s ease-in-out infinite; }
.wave i:nth-child(3n)   { --s: .55; animation-delay: -.2s; }
.wave i:nth-child(3n+1) { --s: .95; animation-delay: -.5s; }
.wave i:nth-child(3n+2) { --s: .7;  animation-delay: -.8s; }
.wave i:nth-child(4n)   { animation-duration: .9s; }
.wave i:nth-child(5n)   { --s: .4; }
@keyframes talk { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(var(--s, .8)); } }
.bubble { max-width: 92%; padding: 9px 13px; border-radius: 17px 17px 17px 5px; background: var(--card); color: var(--ink); border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font: 500 .88rem/1.35 var(--f-body); }
.bubble.me { justify-self: end; border-radius: 17px 17px 5px 17px; background: var(--ink); color: var(--paper); box-shadow: none; }

/* ------------------------------------------------------------ products (night panel) */
.night { position: relative; margin-inline: clamp(8px, 1.2vw, 16px); border-radius: clamp(28px, 4vw, 56px); background: var(--night); color: var(--night-ink); overflow: hidden; isolation: isolate; }
.night::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 30% at 10% 0%, rgba(138, 77, 255, .22), transparent 70%), radial-gradient(35% 25% at 95% 8%, rgba(18, 194, 154, .16), transparent 70%); }
.night .kicker { color: var(--night-mute); }
.night .idx { color: var(--night-ink); }
.night .lede { color: var(--night-mute); }

.prod { --pc: var(--teal); position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: center; padding: clamp(24px, 4vw, 56px); border-radius: clamp(24px, 3vw, 38px); background: var(--night-2); border: 1px solid var(--night-line); }
.prod + .prod { margin-top: clamp(14px, 2vw, 24px); }
.prod::before { content: ""; position: absolute; z-index: -1; width: 62%; aspect-ratio: 1; right: -12%; top: -34%; border-radius: 50%; background: radial-gradient(circle, var(--pc), transparent 68%); opacity: .35; filter: blur(40px); }
.prod-niruvi { --pc: var(--lavender); }
.prod-niruvi::before { right: auto; left: -12%; background: radial-gradient(circle, var(--violet), transparent 68%); }
.prod-niruvi .prod-art { order: -1; }
.prod-badge { display: inline-flex; align-items: center; gap: 9px; padding: .6em .95em; border-radius: 999px; border: 1px solid var(--night-line); font: 500 .76rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--night-mute); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pc) 22%, transparent); }
.prod-name { margin-top: 20px; font: 800 clamp(3rem, 1.4rem + 5vw, 6.2rem)/.9 var(--f-display); letter-spacing: -.06em; background: linear-gradient(90deg, #6ff2cf, var(--lime)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.prod-niruvi .prod-name { background-image: linear-gradient(90deg, var(--lavender), var(--pink)); }
.prod-tag { margin-top: 12px; max-width: 24ch; font: 400 clamp(1.35rem, 1rem + 1.1vw, 2rem)/1.2 var(--f-serif); font-style: italic; color: var(--night-ink); }
.ticks { display: grid; gap: 13px; margin-top: 26px; }
.ticks li { position: relative; padding-left: 32px; color: var(--night-mute); line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--pc); }
.ticks li::after { content: ""; position: absolute; left: 6.5px; top: calc(.2em + 6px); width: 7px; height: 4px; border-left: 2px solid var(--night); border-bottom: 2px solid var(--night); transform: rotate(-45deg); }
.prod-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.prod-art { position: relative; display: grid; align-content: center; }
.prev-tag { justify-self: start; margin-bottom: 14px; font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--night-mute); padding: .55em .8em; border: 1px dashed var(--night-line); border-radius: 999px; }
.prod-niruvi .prev-tag { justify-self: end; }

.sm-card { position: relative; margin-right: 7%; padding: 20px 20px 42px; border-radius: 22px; background: var(--night-3); border: 1px solid var(--night-line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.sm-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 600 .95rem/1.2 var(--f-body); }
.sm-pill { font: 500 .74rem/1 var(--f-mono); padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--night-mute); }
.sm-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
.sm-grid i { aspect-ratio: 1; border-radius: 8px; background: var(--teal); }
.sm-grid i.a { background: transparent; box-shadow: inset 0 0 0 2px var(--pink); }
.sm-grid i.l { background: var(--yellow); }
.sm-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font: 500 .76rem/1 var(--f-mono); color: var(--night-mute); }
.sm-meta span { display: inline-flex; align-items: center; gap: 7px; }
.sm-meta span::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--teal); }
.sm-meta .a::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--pink); }
.sm-meta .l::before { background: var(--yellow); }
.sm-note { position: relative; width: fit-content; display: flex; align-items: flex-start; gap: 11px; max-width: 300px; padding: 12px 14px; border-radius: 16px; background: var(--card); color: var(--ink); font: 500 .88rem/1.35 var(--f-body); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .7); animation: float 7s ease-in-out infinite; }
.sm-note b { display: block; margin-bottom: 2px; font: 600 .66rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.sm-note .ic { width: 30px; height: 30px; border-radius: 10px; flex: none; background: var(--teal); }
.n1 { justify-self: end; margin-top: -24px; --r: 2deg; }
.n2 { justify-self: start; margin: 10px 0 0 5%; --r: -2deg; animation-delay: -3.5s; }
.n2 .ic { background: var(--yellow); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-8px) rotate(var(--r, 0deg)); } }

.nv-call { position: relative; margin-left: 7%; padding: 20px 20px 40px; border-radius: 22px; background: var(--night-3); border: 1px solid var(--night-line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.nv-top { display: flex; align-items: center; gap: 12px; font: 500 .78rem/1 var(--f-mono); color: var(--night-mute); }
.nv-live { color: #ff7bb4; font-weight: 600; }
.nv-time { margin-left: auto; }
.nv-wave { height: 54px; margin: 16px 0; }
.nv-wave i { background: linear-gradient(180deg, var(--lavender), var(--pink)); max-width: 6px; }
.nv-lines { display: grid; gap: 10px; }
.nv-lines p { padding: 10px 13px; border-radius: 14px; font-size: .9rem; line-height: 1.4; }
.nv-lines b { display: block; margin-bottom: 3px; font: 600 .64rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.nv-lines .ai { background: rgba(138, 77, 255, .2); color: var(--night-ink); }
.nv-lines .ai b { color: var(--lavender); }
.nv-lines .cu { background: rgba(255, 255, 255, .06); color: var(--night-mute); margin-left: 12%; }
.nv-handoff { position: relative; margin: -20px 0 0 20%; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 16px; background: var(--card); color: var(--ink); font: 500 .86rem/1.35 var(--f-body); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .7); animation: float 7s ease-in-out infinite; animation-delay: -2s; }
.nv-handoff b { display: block; font: 600 .66rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.nv-accept { margin-left: auto; padding: .65em 1.1em; border-radius: 999px; background: var(--lime); border: 1.5px solid var(--ink); font: 600 .85rem/1 var(--f-body); }

/* ------------------------------------------------------------ process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.step { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 330px; padding: clamp(22px, 2.4vw, 30px); border-radius: 28px; background: var(--card); border: 1.5px solid var(--ink); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.step:hover { transform: translate(-5px, -5px); box-shadow: 10px 10px 0 var(--c); }
.step-dot { position: absolute; top: 24px; right: 24px; width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 1.5px solid var(--ink); }
.step-n { font: 800 clamp(3.6rem, 2rem + 3.6vw, 5.8rem)/.85 var(--f-display); letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 2px var(--ink); transition: color .45s; }
.step:hover .step-n { color: var(--c); }
.step h3 { margin-top: clamp(36px, 5vw, 72px); font: 700 1.45rem/1.1 var(--f-display); letter-spacing: -.04em; }
.step p { color: var(--ink-2); line-height: 1.5; }

/* ------------------------------------------------------------ studio */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.pr { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 2.4vw, 30px); border-radius: 28px; background: var(--paper-2); transition: background-color .4s; }
.pr:hover { background: color-mix(in srgb, var(--c) 18%, var(--paper)); }
.pr-ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--c); color: var(--on, var(--ink)); border: 1.5px solid var(--ink); font-size: 1.5rem; transition: transform .45s var(--ease); }
.pr:hover .pr-ic { transform: rotate(-8deg) scale(1.06); }
.pr h3 { font: 700 1.3rem/1.1 var(--f-display); letter-spacing: -.04em; margin-top: 18px; }
.pr p { color: var(--ink-2); line-height: 1.5; }
.statement { margin-top: clamp(56px, 8vw, 110px); max-width: 24ch; font: 400 clamp(2rem, 1rem + 3.4vw, 4.2rem)/1.08 var(--f-serif); letter-spacing: -.015em; }
.hl { background: linear-gradient(transparent 60%, color-mix(in srgb, var(--c) 55%, transparent) 60%); padding-inline: .05em; }

/* ------------------------------------------------------------ contact */
.contact { position: relative; isolation: isolate; overflow: hidden; }
.mesh { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 46% at 12% 22%, rgba(255, 91, 35, .45), transparent 70%),
    radial-gradient(34% 44% at 88% 12%, rgba(138, 77, 255, .4), transparent 70%),
    radial-gradient(40% 48% at 74% 88%, rgba(43, 89, 255, .34), transparent 70%),
    radial-gradient(36% 46% at 18% 92%, rgba(197, 242, 75, .6), transparent 70%),
    radial-gradient(30% 40% at 52% 48%, rgba(255, 62, 154, .3), transparent 70%); }
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 76px); align-items: start; }
.contact h2 { margin-top: 20px; }
.contact .lede { justify-self: start; margin-top: 20px; }
.contact-list { margin-top: 36px; border-top: 1.5px solid var(--ink); }
.contact-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1.5px solid var(--ink); }
.contact-list span { font: 500 .78rem/1.9 var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); }
.contact-list a { font: 600 clamp(1.05rem, 1rem + .4vw, 1.3rem)/1.4 var(--f-body); overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }

.brief { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border-radius: 32px; background: var(--card); border: 1.5px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.brief h3 { font: 700 1.6rem/1 var(--f-display); letter-spacing: -.04em; }
.need { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.need legend { float: left; width: 100%; margin-bottom: 10px; padding: 0; font-weight: 600; font-size: .95rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: .6em 1em; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 500; font-size: .93rem; transition: background-color .25s, border-color .25s, color .25s; }
.chip span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--c); border-color: var(--ink); color: var(--on, var(--ink)); }
.chip input:checked + span::before { background: currentColor; }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: grid; gap: 7px; font-weight: 600; font-size: .93rem; }
.f input, .f textarea { width: 100%; padding: .85em 1em; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--paper); font: 400 1rem/1.4 var(--f-body); transition: border-color .2s, box-shadow .2s; }
.f textarea { resize: vertical; min-height: 110px; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(43, 89, 255, .2); }
.f [aria-invalid="true"] { border-color: #c4122f; }
.opt { color: var(--ink-3); font-weight: 400; }
.form-note { font-size: .86rem; line-height: 1.45; color: var(--ink-3); }
.form-note.is-error { color: #c4122f; font-weight: 600; }

/* ------------------------------------------------------------ footer */
.foot { overflow: hidden; padding: clamp(60px, 8vw, 100px) 0 28px; border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; background: var(--ink); color: var(--paper); }
.foot .mark circle { mix-blend-mode: screen; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-about p { max-width: 34ch; margin-top: 16px; color: var(--night-mute); }
.foot h4 { margin-bottom: 14px; font: 500 .76rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--night-mute); }
.foot ul { display: grid; gap: 9px; }
.foot ul a { transition: color .2s; }
.foot ul a:hover { color: var(--lime); }
.foot-word { margin-top: clamp(50px, 7vw, 96px); text-align: center; white-space: nowrap; font: 800 clamp(3rem, 13.8vw, 12rem)/.82 var(--f-display); letter-spacing: -.035em; background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .04em; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; color: var(--night-mute); }
.foot-base a:hover { color: var(--paper); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .svc, .svc.wide { grid-column: span 3; }
  .bento .svc:last-child { grid-column: 1 / -1; min-height: 420px; }
  .steps, .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .head-cta { display: none; }
  .menu { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1; margin: 0; padding: 110px var(--gutter) 40px; border-radius: 0; border: 0;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
    background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .head.is-scrolled .nav { background: var(--ink); }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a { padding: .12em 0; font: 700 clamp(2.2rem, 10vw, 3.4rem)/1.1 var(--f-display); letter-spacing: -.05em; color: var(--paper); background: none !important; }
  .nav a:nth-child(1):hover { color: var(--orange); } .nav a:nth-child(2):hover { color: var(--lavender); }
  .nav a:nth-child(3):hover { color: var(--lime); } .nav a:nth-child(4):hover { color: var(--pink); }
  .nav a.is-active { color: var(--paper); }
  .nav .nav-cta-m { display: inline-flex; margin-top: 28px; padding: .95em 1.5em; border-radius: 999px; font: 600 1.1rem/1 var(--f-body); letter-spacing: 0; background: var(--lime) !important; color: var(--ink); }
  .head.menu-open .brand { color: var(--paper); }
  .head.menu-open .mark circle { mix-blend-mode: screen; }
  .head.menu-open::before { opacity: 0; }

  .hero-foot { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; }
  .lede { justify-self: start; }
  .prod { grid-template-columns: 1fr; }
  .prod-niruvi .prod-art { order: 0; }
  .contact-in { grid-template-columns: 1fr; }
  .sticker { top: auto; bottom: clamp(220px, 34vh, 300px); }
}

@media (max-width: 640px) {
  .svc, .svc.wide, .bento .svc:last-child { grid-column: 1 / -1; min-height: 0; }
  .art { height: 180px; margin-top: 8px; }
  .steps, .principles { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step h3 { margin-top: 28px; }
  .row2 { grid-template-columns: 1fr; }
  .sticker { display: none; }
  .hero { min-height: 0; padding-top: 118px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .announce { font-size: .84rem; }
  .sm-card { margin-right: 0; }
  .n1 { max-width: 260px; }
  .n2 { margin-left: 0; max-width: 270px; }
  .nv-call { margin-left: 0; }
  .nv-handoff { margin-left: 6%; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .brief { box-shadow: 6px 6px 0 var(--ink); border-radius: 26px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bands { height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
