/* Ginete Technologies — site styles */
:root {
  --ink: #070a1f;
  --ink-2: #0d1236;
  --ink-3: #161c4a;
  --indigo: #2a2770;
  --indigo-2: #3d3a9e;
  --cyan: #09b7e7;
  --cyan-2: #6fd8f5;
  --bg: #f5f7fc;
  --surface: #ffffff;
  --text: #0f1330;
  --muted: #586081;
  --line: #e2e6f2;
  --line-dark: rgba(255, 255, 255, .1);
  --on-dark: #e9ecfb;
  --on-dark-muted: #a3aad0;
  --grad: linear-gradient(120deg, #09b7e7 0%, #4b63e0 55%, #3d3a9e 100%);
  --grad-soft: linear-gradient(120deg, rgba(9, 183, 231, .12), rgba(61, 58, 158, .12));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 19, 48, .04), 0 8px 28px rgba(15, 19, 48, .07);
  --shadow-lg: 0 2px 6px rgba(15, 19, 48, .06), 0 24px 60px rgba(15, 19, 48, .14);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
  --nav-h: 76px;
  --bar-h: 38px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
::selection { background: rgba(9, 183, 231, .25); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1em; height: 1em; flex: none; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons, chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  padding: .85em 1.4em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn .ico { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(9, 140, 231, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(9, 140, 231, .45); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--text); }
.btn-ghost:hover { border-color: var(--indigo-2); color: var(--indigo-2); }
.on-dark .btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.on-dark .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--indigo-2); }
.link-arrow .ico { transition: transform .2s ease; }
.link-arrow:hover .ico { transform: translateX(4px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo-2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(9, 183, 231, .18); }
.on-dark .eyebrow { color: var(--cyan-2); }

.chip {
  display: inline-flex; align-items: center; padding: .38em .9em; border-radius: 999px;
  font-size: .8rem; font-weight: 700; background: var(--grad-soft); color: var(--indigo-2);
}
.on-dark .chip { background: rgba(255, 255, 255, .08); color: var(--cyan-2); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease;
}
.nav .nav-main { height: var(--nav-h); display: flex; align-items: center; gap: 28px; transition: height .3s ease; }
.nav-logo { display: flex; align-items: center; flex: none; }
.nav-logo img { height: 42px; width: auto; }
.nav-logo .logo-dark { display: none; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button {
  display: flex; align-items: center; gap: .3em; padding: .55em .9em; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .85); background: none; border: 0; cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li > a[aria-current] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: .75em 1.2em; }
.nav-toggle { display: none; order: 1; margin-left: auto; background: none; border: 0; color: #fff; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle .ico { width: 24px; height: 24px; }

.nav.is-solid, .nav.is-light { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid .logo-light, .nav.is-light .logo-light { display: none; }
.nav.is-solid .logo-dark, .nav.is-light .logo-dark { display: block; }
.nav.is-solid .nav-links > li > a, .nav.is-solid .nav-links > li > button,
.nav.is-light .nav-links > li > a, .nav.is-light .nav-links > li > button { color: var(--text); }
.nav.is-solid .nav-links > li > a:hover, .nav.is-solid .nav-links > li > button:hover, .nav.is-solid .nav-links > li > a[aria-current],
.nav.is-light .nav-links > li > a:hover, .nav.is-light .nav-links > li > button:hover, .nav.is-light .nav-links > li > a[aria-current] { background: var(--bg); color: var(--indigo-2); }
.nav.is-solid .nav-toggle, .nav.is-light .nav-toggle { color: var(--text); }
.nav.is-solid .nav-main { height: 66px; }

/* services dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; width: min(680px, 90vw);
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
}
.dropdown.is-wide { width: min(940px, 94vw); grid-template-columns: repeat(3, 1fr); }
.dropdown.is-wide .dd-item { padding: 10px; }
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-dd:hover .dropdown, .has-dd:focus-within .dropdown, .has-dd.is-open .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.has-dd > button .ico { width: 14px; height: 14px; transition: transform .2s; }
.has-dd:hover > button .ico, .has-dd.is-open > button .ico { transform: rotate(180deg); }
.dd-item { display: flex; gap: 12px; padding: 12px; border-radius: 12px; transition: background .15s; }
.dd-item:hover { background: var(--bg); }
.dd-item .tile { width: 40px; height: 40px; }
.dd-item strong { display: block; font-size: .93rem; color: var(--text); line-height: 1.3; }
.dd-item span { font-size: .82rem; color: var(--muted); line-height: 1.4; }

.tile {
  display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad-soft); color: var(--indigo-2);
}
.tile .ico { width: 50%; height: 50%; }
.tile-grad { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(9, 140, 231, .3); }
.on-dark .tile { background: rgba(255, 255, 255, .07); color: var(--cyan-2); border: 1px solid rgba(255, 255, 255, .08); }

/* mobile menu */
@media (max-width: 960px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links, .nav-cta { display: none; }
  .nav.is-open { background: #fff; height: 100dvh; overflow-y: auto; align-items: flex-start; }
  .nav.is-open .topbar { display: none; }
  .nav.is-open .nav-main { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 40px; align-content: flex-start; }
  .nav.is-open .logo-light { display: none; }
  .nav.is-open .logo-dark { display: block; }
  .nav.is-open .nav-toggle { color: var(--text); }
  .nav.is-open .nav-links, .nav.is-open .nav-cta { order: 2; }
  .nav.is-open .nav-links { display: flex; flex-direction: column; align-items: stretch; width: 100%; margin: 18px 0 0; gap: 2px; }
  .nav.is-open .nav-links > li > a, .nav.is-open .nav-links > li > button { color: var(--text); font-size: 1.1rem; padding: .8em .4em; width: 100%; justify-content: space-between; border-radius: 10px; }
  .nav.is-open .nav-cta { display: block; width: 100%; margin: 18px 0 0; }
  .nav.is-open .nav-cta .btn { width: 100%; padding: 1em; }
  .dropdown { position: static; transform: none; width: 100%; box-shadow: none; border: 0; padding: 0 0 8px; grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .dropdown::before { display: none; }
  .has-dd.is-open .dropdown { display: grid; transform: none; }
  .has-dd:hover .dropdown { transform: none; }
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.section-white { background: var(--surface); }
.on-dark { background: var(--ink); color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p, .on-dark .muted { color: var(--on-dark-muted); }
.head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.head.center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin: .35em 0 .3em; }
.head p { font-size: 1.1rem; color: var(--muted); margin: 0; }
.on-dark .head p { color: var(--on-dark-muted); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.head-row .head { margin-bottom: 0; }
.muted { color: var(--muted); }

/* glow decorations */
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .55; }
.glow-cyan { background: #09b7e7; }
.glow-indigo { background: #4038c9; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark);
  padding: calc(var(--nav-h) + var(--bar-h) + clamp(40px, 7vw, 88px)) 0 clamp(64px, 8vw, 104px);
  isolation: isolate;
}
.hero canvas.mesh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(to bottom, transparent, var(--ink)); z-index: -1; }
.hero .glow-cyan { width: 520px; height: 520px; right: -140px; top: -160px; opacity: .28; z-index: -1; }
.hero .glow-indigo { width: 640px; height: 640px; left: -260px; bottom: -320px; opacity: .45; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 700; letter-spacing: -.035em; margin: .45em 0 .35em; color: #fff; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--on-dark-muted); max-width: 560px; margin-bottom: 2em; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(.4em); transition: opacity .5s ease, transform .5s ease; white-space: nowrap; }
.rotator > span.is-on { opacity: 1; transform: none; }

/* chain visual */
.chain { position: relative; height: 440px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.chain-track { position: absolute; inset: 0; }
.block {
  position: absolute; left: 50%; width: 300px; padding: 16px 18px 14px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35); font-size: .82rem; color: var(--on-dark-muted);
  transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .9s ease;
}
.block-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.block-top strong { font-family: var(--font-head); color: #fff; font-size: .95rem; font-weight: 600; }
.block-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan-2); }
.block-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.block.is-new .block-status { color: #ffd166; }
.block-row { display: flex; justify-content: space-between; gap: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem; line-height: 1.9; }
.block-row span:last-child { color: #dfe4ff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.block-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); margin-top: 10px; overflow: hidden; }
.block-bar i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; }
.block.is-new .block-bar i { animation: fill 3.2s linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.chain-link { position: absolute; left: 50%; width: 2px; height: 34px; margin-left: -1px; background: linear-gradient(var(--cyan), rgba(9, 183, 231, 0)); }

/* platforms marquee */
.marquee-label { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin: clamp(48px, 7vw, 80px) 0 20px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.pf {
  display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 600; font-size: .95rem; white-space: nowrap;
}
.pf img { width: 34px; height: 34px; border-radius: 50%; object-fit: contain; background: #fff; padding: 4px; }

/* page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding: calc(var(--nav-h) + var(--bar-h) + clamp(32px, 5vw, 72px)) 0 clamp(48px, 6vw, 80px); isolation: isolate; }
.page-hero canvas.mesh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .55; }
.page-hero .glow-cyan { width: 420px; height: 420px; right: -120px; top: -180px; opacity: .25; z-index: -1; }
.page-hero .glow-indigo { width: 520px; height: 520px; left: -200px; bottom: -300px; opacity: .4; z-index: -1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; letter-spacing: -.03em; margin: .4em 0 .3em; color: #fff; max-width: 900px; }
.page-hero .lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--on-dark-muted); max-width: 680px; margin: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--on-dark-muted); flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: .5; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 22px; color: var(--on-dark-muted); font-size: .92rem; }
.meta-row span { display: inline-flex; align-items: center; gap: 8px; }
.meta-row .ico { width: 16px; height: 16px; color: var(--cyan-2); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.stat { padding: clamp(22px, 3vw, 36px); text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.stat > span { display: block; margin-top: .55em; color: var(--muted); font-weight: 600; font-size: .95rem; }
.stats-float { margin-top: -56px; position: relative; z-index: 2; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.svc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc:hover::after { opacity: 1; }
.svc h3 { font-size: 1.28rem; }
.svc p { color: var(--muted); margin: 0; flex: 1; font-size: .98rem; }
.svc .link-arrow { margin-top: 4px; font-size: .92rem; }
.svc .num { position: absolute; right: 24px; top: 22px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: #c4cae0; }
.svc-feature { grid-column: span 2; flex-direction: row; align-items: stretch; gap: 28px; background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.svc-feature h3 { color: #fff; font-size: 1.6rem; }
.svc-feature p { color: var(--on-dark-muted); }
.svc-feature .link-arrow { color: var(--cyan-2); }
.svc-feature .tile { background: var(--grad); color: #fff; }
.svc-feature .svc-body { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.svc-feature .svc-art { flex: 0 0 38%; border-radius: 14px; background: radial-gradient(circle at 30% 30%, rgba(9, 183, 231, .35), transparent 60%), radial-gradient(circle at 80% 70%, rgba(75, 99, 224, .45), transparent 60%), var(--ink-3); position: relative; overflow: hidden; min-height: 180px; }
.svc-feature .svc-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.process-head { position: sticky; top: 120px; }
.steps { position: relative; list-style: none; margin: 0; padding: 0 0 0 0; counter-reset: s; }
.steps::before, .steps-fill { content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; width: 2px; background: var(--line); }
.steps-fill { background: var(--grad); transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform .15s linear; }
.step { position: relative; display: flex; gap: 22px; padding: 0 0 34px; }
.step:last-child { padding-bottom: 0; }
.step .tile { width: 52px; height: 52px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; z-index: 1; transition: background .3s, color .3s, border-color .3s; }
.step.is-in .tile { background: var(--grad); color: #fff; border-color: transparent; }
.step h3 { font-size: 1.15rem; margin: 4px 0 6px; }
.step small { font-family: var(--font-head); font-weight: 700; color: var(--cyan); letter-spacing: .06em; font-size: .78rem; }
.step ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.step li { position: relative; padding-left: 0; }
.step li + li { margin-top: 2px; }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why {
  padding: 26px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .035); border: 1px solid var(--line-dark);
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.why:hover { background: rgba(255, 255, 255, .07); border-color: rgba(9, 183, 231, .35); transform: translateY(-3px); }
.why h3 { font-size: 1.06rem; margin-top: 18px; font-weight: 600; line-height: 1.35; }

/* ---------- logos ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logo-cell { display: grid; place-items: center; height: 110px; padding: 18px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: transform .25s ease, box-shadow .25s ease; }
.logo-cell img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s ease, opacity .3s ease; }
.logo-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.logo-cell:hover img { filter: none; opacity: 1; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 24px; }
.quotes::-webkit-scrollbar { display: none; }
.quote { margin: 0; scroll-snap-align: start; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(14, 24, 60, .04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.quote::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.q-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; margin-bottom: 4px; box-shadow: 0 8px 20px -8px rgba(60, 90, 230, .55); }
.q-icon .quote-mark { width: 20px; height: 20px; color: #fff; }
.q-hl { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; line-height: 1.32; letter-spacing: -.015em; color: var(--ink); }
.quote blockquote { margin: 0; font-size: .95rem; line-height: 1.65; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.quote.is-open blockquote { display: block; -webkit-line-clamp: unset; }
.q-more { align-self: flex-start; margin-top: -4px; padding: 0; border: 0; background: none; font: inherit; font-size: .88rem; font-weight: 700; color: var(--indigo-2); cursor: pointer; }
.q-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.q-more[hidden] { display: none; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote figcaption img { width: 52px; height: 52px; flex: none; border-radius: 50%; object-fit: cover; background: var(--bg); padding: 2px; border: 2px solid transparent; background-image: linear-gradient(var(--surface), var(--surface)), var(--grad); background-origin: border-box; background-clip: content-box, border-box; }
.quote figcaption b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink); }
.quote figcaption span { font-size: .85rem; color: var(--muted); line-height: 1.4; }
.slider-nav { display: flex; gap: 10px; }
.slider-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.slider-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.slider-nav .ico { width: 18px; height: 18px; }
.slider-nav .prev .ico { transform: rotate(180deg); }

/* ---------- portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { padding: .6em 1.15em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: .9rem; cursor: pointer; color: var(--muted); transition: all .2s ease; }
.filter:hover { color: var(--text); border-color: #c8cee3; }
.filter.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-logo { height: 170px; display: grid; place-items: center; padding: 28px; background: linear-gradient(160deg, #f7f8fd, #eef1fa); border-bottom: 1px solid var(--line); }
.work-logo img { max-height: 92px; max-width: 70%; object-fit: contain; }
.work-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-body h3 { font-size: 1.3rem; }
.work-body .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.work-body .desc { color: var(--muted); font-size: .95rem; }
.work-body .desc p { margin: 0 0 .6em; }
.work-body .desc p:last-child { margin: 0; }
.work.is-hidden { display: none; }
.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card .cover { aspect-ratio: 5 / 3; overflow: hidden; background: var(--ink-3); }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .cover img { transform: scale(1.04); }
.post-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { font-size: 1.14rem; line-height: 1.35; }
.post-card .excerpt { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }
.post-meta { display: flex; gap: 12px; align-items: center; font-size: .82rem; color: var(--muted); font-weight: 600; flex-wrap: wrap; }
.post-card.is-hidden { display: none; }
.post-featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); margin-bottom: 22px; transition: box-shadow .25s ease; }
.post-featured:hover { box-shadow: var(--shadow-lg); }
.post-featured .cover { min-height: 320px; display: grid; place-items: center; background: linear-gradient(180deg, #0b1236 0%, #1a2c6e 55%, #2b3c84 100%); }
.post-featured .cover img { width: 100%; height: 100%; object-fit: contain; }   /* show the whole 5:3 cover; the box is taller than 5:3 */
.post-featured .body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.post-featured h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

/* article */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin: -120px 0 40px; position: relative; z-index: 2; box-shadow: var(--shadow-lg); background: var(--ink-3); }
.article-cover img { width: 100%; height: auto; max-height: 520px; object-fit: cover; }
.prose { font-size: 1.08rem; line-height: 1.8; color: #262b4d; max-width: 72ch; }
.prose h2, .prose h3 { color: var(--text); margin: 1.8em 0 .6em; line-height: 1.3; }
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.3rem; }
.prose p { margin: 0 0 1.15em; }
.prose a { color: var(--indigo-2); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--cyan); }
.prose img { border-radius: 12px; margin: 1.5em 0; height: auto; }
.prose blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 3px solid var(--cyan); background: var(--grad-soft); border-radius: 0 12px 12px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: .6em .8em; text-align: left; vertical-align: top; }
.aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.aside-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.aside-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.aside-post { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.aside-post:first-of-type { border-top: 0; padding-top: 0; }
.aside-post img { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; }
.aside-post b { font-size: .9rem; line-height: 1.35; font-weight: 700; display: block; }
.aside-post:hover b { color: var(--indigo-2); }
.aside-post span { font-size: .78rem; color: var(--muted); }
.aside-cta { background: var(--ink); color: var(--on-dark); border-color: var(--ink); position: relative; overflow: hidden; }
.aside-cta h3 { color: #fff; }
.aside-cta p { color: var(--on-dark-muted); font-size: .94rem; }
.share { display: flex; gap: 8px; }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: all .2s; }
.share a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.share .ico { width: 17px; height: 17px; }

/* ---------- service page ---------- */
.svc-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.svc-intro { font-size: 1.06rem; color: var(--on-dark-muted); }
.svc-intro p { margin: 0 0 1em; }
.svc-intro strong { color: #fff; }
.svc-intro a { color: var(--cyan-2); text-decoration: underline; text-underline-offset: 3px; }
.work-links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: auto; }
.form-card { background: #fff; color: var(--text); border-radius: 22px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.form-card h2 { font-size: 1.5rem; margin-bottom: .3em; color: var(--text); }
.form-card > p { color: var(--muted); font-size: .95rem; }
.features { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.feature { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; }
.feature .n { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 18px; }
.feature h3 { font-size: 1.2rem; margin-bottom: .6em; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.features-intro { color: var(--muted); font-size: 1.05rem; }
.features-intro p { margin: 0 0 .8em; }
.other-svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.other-svc { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: all .2s ease; }
.other-svc:hover { border-color: var(--indigo-2); transform: translateY(-2px); }
.other-svc b { font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.other-svc .tile { width: 44px; height: 44px; }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85em 1em; border-radius: 12px; border: 1px solid var(--line); background: #f8f9fd;
  transition: border-color .2s, box-shadow .2s, background .2s; font-size: .98rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(9, 183, 231, .15); }
.field .err { font-size: .78rem; color: #d6336c; display: none; }
.field.has-err input, .field.has-err textarea { border-color: #d6336c; }
.field.has-err .err { display: block; }
.form .btn { grid-column: 1 / -1; padding: 1em; margin-top: 6px; }
.form-note { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); margin: 0; text-align: center; }
.form-done { display: none; text-align: center; padding: 28px 8px; }
.form-done .tile { margin: 0 auto 16px; width: 64px; height: 64px; border-radius: 50%; }
.form-done h3 { font-size: 1.35rem; margin-bottom: .4em; }
.form-done p { color: var(--muted); margin: 0; }
.is-sent .form { display: none; }
.is-sent .form-done { display: block; }
.hp { position: absolute; left: -9999px; }

/* ---------- contact / CTA ---------- */
.cta-panel { position: relative; overflow: hidden; border-radius: 28px; background: var(--ink); color: var(--on-dark); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); isolation: isolate; }
.cta-panel .glow-cyan { width: 380px; height: 380px; left: -120px; top: -160px; opacity: .3; z-index: -1; }
.cta-panel .glow-indigo { width: 460px; height: 460px; right: -160px; bottom: -220px; opacity: .55; z-index: -1; }
.cta-panel h2 { font-size: clamp(2rem, 4vw, 3rem); margin: .4em 0 .35em; }
.touch-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.touch-steps li { display: flex; gap: 14px; align-items: center; color: var(--on-dark); font-weight: 600; }
.touch-steps .tile { width: 44px; height: 44px; }
.contact-lines { display: grid; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.contact-lines a, .contact-lines span { display: flex; gap: 12px; align-items: center; color: var(--on-dark); }
.contact-lines a:hover { color: var(--cyan-2); }
.contact-lines .ico { width: 18px; height: 18px; color: var(--cyan-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.info-cards { display: grid; gap: 14px; }
.info-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.info-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--muted); margin: 0; }
.info-card a:hover { color: var(--indigo-2); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 280px; background: var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vm-card { padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.vm-card h3 { font-size: 1.4rem; margin: 18px 0 10px; }
.vm-card p { color: var(--muted); margin: 0; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 22px; justify-content: center; }
.member { padding: 32px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.member .photo { width: 132px; height: 132px; border-radius: 50%; margin: 0 auto 20px; padding: 4px; background: var(--grad); }
.member .photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; }
.member h3 { font-size: 1.35rem; }
.member .role { color: var(--cyan); font-weight: 700; font-size: .9rem; margin: 4px 0 14px; display: block; }
.member p { color: var(--muted); font-size: .97rem; }
.member .share { justify-content: center; margin-top: 18px; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; gap: 12px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery figure:nth-child(2), .gallery figure:nth-child(3) { grid-column: span 3; }
.gallery figure:nth-child(4), .gallery figure:nth-child(5), .gallery figure:nth-child(6) { grid-column: span 2; }

/* careers */
.jobs { display: grid; gap: 14px; }
.job { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .25s ease, border-color .25s ease; }
.job:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.job h3 { font-size: 1.35rem; margin: 10px 0 8px; }
.job p { color: var(--muted); margin: 0; }
.empty-note { padding: 28px; border-radius: var(--radius); border: 1px dashed #c8cee3; text-align: center; color: var(--muted); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-muted); padding: clamp(56px, 8vw, 88px) 0 28px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer img.flogo { height: 44px; width: auto; margin-bottom: 18px; }
.footer p { font-size: .95rem; max-width: 360px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.footer a:hover { color: #fff; }
.footer .socials { display: flex; gap: 8px; margin-top: 22px; }
.footer .socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); transition: all .2s; color: var(--on-dark); }
.footer .socials a:hover { background: var(--grad); border-color: transparent; color: #fff; }
.footer .socials .ico { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.newsletter { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.newsletter input { flex: 1 1 160px; min-width: 0; padding: .8em 1em; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .05); color: #fff; }
.newsletter input::placeholder { color: #7f87b3; }
.newsletter input:focus { outline: none; border-color: var(--cyan); }
.newsletter .btn { padding: .8em 1.2em; }
.newsletter-msg { font-size: .85rem; color: var(--cyan-2); margin-top: 8px; display: none; }
.is-sent .newsletter-msg { display: block; }
.is-sent .newsletter { display: none; }
.footer-word { position: absolute; left: 50%; bottom: -0.32em; transform: translateX(-50%); font-family: var(--font-head); font-weight: 700; font-size: clamp(6rem, 22vw, 20rem); letter-spacing: -.05em; line-height: 1; color: rgba(255, 255, 255, .025); pointer-events: none; white-space: nowrap; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.nf b { font-family: var(--font-head); font-size: clamp(6rem, 18vw, 12rem); line-height: 1; display: block; }
.thanks .thanks-tile { width: 76px; height: 76px; border-radius: 22px; margin: 0 auto 26px; display: grid; place-items: center; }
.thanks .thanks-tile .ico { width: 36px; height: 36px; }
.thanks .lead a { color: var(--cyan-2); }

/* ---------- motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-wrap { grid-template-columns: 1fr; }
  .aside { position: static; }
  .quotes { grid-auto-columns: calc((100% - 18px) / 2); }
}
@media (max-width: 960px) {
  .hero-grid, .svc-hero-grid, .split, .contact-grid, .cta-panel, .process { grid-template-columns: 1fr; }
  .process-head { position: static; }
  .chain { height: 380px; }
  .svc-grid, .work-grid, .post-grid, .features, .other-svcs { grid-template-columns: 1fr 1fr; }
  .svc-feature { grid-column: 1 / -1; }
  .post-featured { grid-template-columns: 1fr; }
  .post-featured .cover { min-height: 0; aspect-ratio: 5 / 3; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --nav-h: 66px; }
  body { font-size: 16px; }
  .nav-logo img { height: 36px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .svc-grid, .work-grid, .post-grid, .features, .other-svcs, .vm, .team, .why-grid { grid-template-columns: 1fr; }
  .svc-feature { flex-direction: column; }
  .svc-feature .svc-art { flex-basis: auto; min-height: 150px; }
  .quotes { grid-auto-columns: 88%; }
  .form { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .gallery figure:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .chain { display: none; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .article-cover { margin-top: -60px; }
  .logo-cell { height: 90px; padding: 14px; }
}

/* light-background variants */
.touch-light li { color: var(--text); }
.newsletter-light input { background: #fff; border-color: var(--line); color: var(--text); }
.newsletter-light input::placeholder { color: #9aa1bd; }
.section-white .newsletter-msg { color: var(--indigo-2); }

/* dark logo tile for logos with light wordmarks (QuickSwap, KalqiX) */
.work-logo.is-dark { background: radial-gradient(circle at 25% 20%, rgba(9, 183, 231, .22), transparent 55%), radial-gradient(circle at 85% 90%, rgba(75, 99, 224, .35), transparent 55%), var(--ink-2); border-bottom-color: var(--ink-2); }
.work-logo.is-dark img { max-width: 78%; }

/* top bar: links to QuickSwap and KalqiX */
.topbar { height: var(--bar-h); overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); transition: height .3s ease, opacity .3s ease, border-color .3s ease; }
.topbar .wrap { height: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: .84rem; color: var(--on-dark-muted); white-space: nowrap; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #fff; padding: 3px 10px 3px 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background .2s, border-color .2s; }
.topbar a:hover { background: rgba(9, 183, 231, .16); border-color: rgba(9, 183, 231, .45); }
.topbar img { width: 20px; height: 20px; border-radius: 50%; object-fit: contain; }
.topbar a .ico { width: 12px; height: 12px; opacity: .6; }
.nav.is-solid .topbar { height: 0; opacity: 0; border-color: transparent; }
@media (max-width: 640px) {
  :root { --bar-h: 36px; }
  .topbar .wrap { gap: 6px; font-size: .78rem; }
  .topbar-from { display: none; }
  .topbar-lead::first-letter { text-transform: uppercase; }
  .topbar a { padding-right: 8px; }
}
@media (max-width: 380px) { .topbar a .ico { display: none; } }
