/* Toptal-inspired system: soft lilac wash, serif display with underlined keyword,
   green pill CTA, humanist sans body, rounded surfaces, floating profile cards.
   Taste-skill: one accent (green), no neon, no pure black, serif only for display. */
:root {
  --bg: #eef0f8;
  --bg-2: #e4e8f3;
  --surface: #ffffff;
  --ink: #1a1a2e;
  --ink-2: #30354a;
  --muted: #5a5f73;
  --line: #dfe3ec;
  --line-strong: #c6ccda;
  --green: #27a04f;
  --green-ink: #1f7f3f;
  --green-soft: #dff6e7;
  --blue: #204ecf;
  --blue-soft: #e7edff;
  --banner: #d9ddea;
  --banner-ink: #1a1a2e;
  --radius: 20px;
  /* Single family — Plus Jakarta Sans (from cgitpromax). Hierarchy by weight + tracking,
     not by changing families. Taste-skill compliant: not Inter, humanist, geometric. */
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  --serif: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --wrap: 1240px;
  color: var(--ink);
  font-family: var(--sans);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); line-height: 1.55; font-size: 16.5px; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
/* Toptal-style weighted hierarchy, cgitpromax sizes. One font family throughout. */
h1, h2, h3, h4 { margin: 0 0 .5em; letter-spacing: -.025em; line-height: 1.08; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
h4 { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 16px; }
p { margin: 0 0 1em; color: var(--ink-2); }
p.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 56ch; line-height: 1.55; }
/* Underline-emphasis for a keyword inside a headline (hand-drawn feel via SVG wave) */
.u-under { position: relative; display: inline-block; white-space: nowrap; }
.u-under::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 10px; background: no-repeat center/100% 100% url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 180 10" preserveAspectRatio="none"><path d="M2 7 Q 45 1, 90 5 T 178 4" fill="none" stroke="%2327a04f" stroke-width="2.5" stroke-linecap="round"/></svg>'); }
.u-under.blue::after { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 180 10" preserveAspectRatio="none"><path d="M2 7 Q 45 1, 90 5 T 178 4" fill="none" stroke="%23204ecf" stroke-width="2.5" stroke-linecap="round"/></svg>'); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 20px; top: 10px; z-index: 99; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 999px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green-soft); color: var(--ink); }

/* ── Liquid-glass nav bar ── */
header.site { position: sticky; top: 20px; z-index: 50; padding: 0 20px; background: transparent; }
header.site .inner {
  max-width: calc(var(--wrap) - 40px);
  margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  height: 68px; padding: 0 10px 0 24px;
  background: rgba(255, 255, 255, .68);
  backdrop-filter: saturate(2) blur(24px);
  -webkit-backdrop-filter: saturate(2) blur(24px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    inset 0 -1px 0 rgba(26, 26, 46, .04),
    0 2px 6px rgba(26, 26, 46, .04),
    0 20px 48px -24px rgba(26, 26, 46, .18);
}
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 46px; width: auto; }
nav.main { display: flex; gap: 2px; align-items: center; margin-left: auto; }
nav.main a {
  position: relative; isolation: isolate;
  text-decoration: none; color: var(--ink);
  font-weight: 500; font-size: .92rem;
  padding: 9px 14px; border-radius: 999px;
  transition: color .18s;
  white-space: nowrap;
}
nav.main a::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(26, 26, 46, .06); border-radius: 999px;
  opacity: 0; transform: scale(.85); z-index: -1;
  transition: opacity .22s cubic-bezier(.16, 1, .3, 1), transform .22s cubic-bezier(.16, 1, .3, 1);
}
nav.main a:hover::before { opacity: 1; transform: scale(1); }
nav.main a[aria-current="page"] { color: var(--blue); }
nav.main a[aria-current="page"]::before { opacity: 1; transform: scale(1); background: var(--blue-soft); }
.header-right { display: flex; gap: 8px; align-items: center; flex: none; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; background: rgba(26, 26, 46, .06); display: grid; place-items: center; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 18px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu[open] nav { position: absolute; left: 20px; right: 20px; top: 76px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(20px); border: 1px solid var(--line); border-radius: 20px; padding: 14px; display: grid; box-shadow: 0 20px 40px -20px rgba(26, 26, 46, .18); }
.menu nav a { padding: 14px 16px; text-decoration: none; color: var(--ink); font-weight: 500; border-radius: 12px; }
.menu nav a:hover { background: var(--bg); }
@media (max-width: 1020px) { nav.main, .header-right .btn { display: none; } .menu { display: block; margin-left: auto; } header.site .inner { padding-right: 6px; } }

/* ── Buttons: pill ── */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font: inherit; font-family: var(--sans); font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .08s ease; white-space: nowrap; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-ink); }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #1a3fa8; }
.btn svg { width: 18px; height: 18px; stroke-width: 2; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }

.kicker { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--blue); margin-bottom: 24px; font-family: var(--sans); padding: 6px 12px; border-radius: 999px; background: var(--blue-soft); }

.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 20px; font-family: var(--sans); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* ── Metric strip (count-up) ── */
.metrics-strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; }
.metrics-strip .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.metric { border-left: 1px solid var(--line); padding-left: 24px; }
.metric:first-child { border-left: 0; padding-left: 0; }
.metric b { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; color: var(--ink); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.metric b sup { font-size: .45em; color: var(--green); font-weight: 600; vertical-align: super; margin-left: 2px; }
.metric small { color: var(--muted); font-size: .86rem; font-weight: 500; display: block; max-width: 22ch; }
@media (max-width: 900px) { .metrics-strip .wrap { grid-template-columns: 1fr 1fr; gap: 32px 24px; } .metric:nth-child(odd) { border-left: 0; padding-left: 0; } }

/* ── Tech stack marquee ── */
.marquee-strip { background: var(--bg); padding: 44px 0 56px; border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee-strip .label { text-align: center; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-bottom: 28px; }
.marquee-track {
  display: flex; gap: 56px; width: max-content; align-items: center;
  animation: slide 42s linear infinite;
}
.marquee-track span {
  font-weight: 600; font-size: 1.1rem; color: var(--muted);
  white-space: nowrap; letter-spacing: -.01em; opacity: .75;
  transition: opacity .2s, color .2s;
}
.marquee-track span:hover { opacity: 1; color: var(--ink); }
.marquee-track span::after {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); margin-left: 56px; vertical-align: 3px;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ── HERO ── */
.hero { background: var(--bg); padding: 36px 0 72px; position: relative; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: 0;
  width: 540px; height: 540px; border-radius: 50%;
  filter: blur(90px); opacity: .35; pointer-events: none;
  animation: drift 20s ease-in-out infinite;
}
.hero::before { background: radial-gradient(circle, #a3cff5, transparent 65%); top: -140px; left: -120px; }
.hero::after { background: radial-gradient(circle, #c8e5d6, transparent 65%); bottom: -180px; right: -100px; animation-delay: -10s; }
.hero > * { position: relative; z-index: 1; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 40px) scale(.96); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
  .marquee-track { animation: none; }
}
.hero.small { padding: 56px 0 48px; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero.small .wrap { display: block; }

/* Pill toggle inside the hero top */
.toggle { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 0 auto 36px; align-items: center; gap: 4px; font-size: .92rem; }
.toggle .label-l { color: var(--muted); padding: 6px 12px 6px 14px; }
.toggle button { font: inherit; font-weight: 600; padding: 10px 20px; border: 0; border-radius: 999px; cursor: pointer; background: transparent; color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; }
.toggle button[aria-pressed="true"] { background: var(--surface); color: var(--blue); border: 1px solid var(--blue); box-shadow: 0 2px 6px rgba(32, 78, 207, .15); }

.hero-head { text-align: left; }
.hero-head .lead { margin-top: 20px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* Right-side hero visual (landscape office photo) with floating profile card */
.portrait { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.95) contrast(1.02); }
.profile-card { position: absolute; right: 20px; bottom: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; box-shadow: 0 20px 44px -20px rgba(26, 26, 46, .32); width: 268px; backdrop-filter: blur(10px); }
.profile-card .world { position: absolute; top: 16px; right: 16px; width: 80px; height: 48px; opacity: .6; background: center/contain no-repeat url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 90"><g fill="%231a1a2e"><circle cx="20" cy="30" r="1.4"/><circle cx="30" cy="30" r="1.4"/><circle cx="40" cy="30" r="1.4"/><circle cx="50" cy="30" r="1.4"/><circle cx="25" cy="40" r="1.4"/><circle cx="35" cy="40" r="1.4"/><circle cx="45" cy="40" r="1.4"/><circle cx="55" cy="40" r="1.4"/><circle cx="65" cy="40" r="1.4"/><circle cx="30" cy="50" r="1.4"/><circle cx="40" cy="50" r="1.4"/><circle cx="50" cy="50" r="1.4"/><circle cx="80" cy="35" r="1.4"/><circle cx="90" cy="35" r="1.4"/><circle cx="100" cy="35" r="1.4"/><circle cx="110" cy="35" r="1.4"/><circle cx="85" cy="45" r="1.4"/><circle cx="95" cy="45" r="1.4"/><circle cx="105" cy="45" r="1.4"/><circle cx="115" cy="45" r="1.4"/><circle cx="125" cy="45" r="1.4"/><circle cx="130" cy="55" r="1.4"/><circle cx="140" cy="55" r="1.4"/><circle cx="150" cy="55" r="1.4"/></g><circle cx="92" cy="40" r="3" fill="%2327a04f"/></svg>'); }
.profile-card .name { font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.profile-card .verified { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.profile-card .verified svg { color: var(--green); }
.profile-card .role { font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-bottom: 20px; }
.profile-card .prev { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
.profile-card .brand-mark {  font-style: normal; font-weight: 500; font-size: 1.3rem; color: var(--ink); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .portrait img { max-width: 100%; }
  .profile-card { right: 10px; width: 220px; bottom: 10px; }
}

/* Hero: small variant for inner pages */
.hero.small h1 { max-width: 20ch; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.hero.small .lead { max-width: 60ch; margin-top: 20px; }

/* ── Role-card carousel (below hero) ── */
.cards-rail { position: relative; margin-top: 36px; padding: 0 44px; }
.cards-rail .rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 8px; scrollbar-width: none; padding: 8px 0; }
.cards-rail .rail::-webkit-scrollbar { display: none; }
.rc { flex: 0 0 300px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; gap: 14px; align-items: center; scroll-snap-align: start; transition: border-color .2s, transform .12s; }
.rc.active { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.rc:hover { transform: translateY(-2px); }
.rc .av { width: 68px; height: 68px; border-radius: 10px; background: var(--bg-2) center/cover no-repeat; flex: none;  font-size: 1.6rem; color: var(--ink); display: grid; place-items: center; overflow: hidden; }
.rc .meta { flex: 1; min-width: 0; }
.rc .meta b { display: block; font-weight: 600; color: var(--ink); margin-bottom: 4px; font-size: .98rem; }
.rc .meta .r { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); margin-bottom: 10px; }
.rc .meta .r svg { color: var(--blue); }
.rc .meta small { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 2px; }
.rc .meta .at {  font-style: normal; font-weight: 500; color: var(--ink); font-size: .96rem; }
.cards-rail .nav { position: absolute; top: 50%; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; display: grid; place-items: center; transform: translateY(-50%); transition: background .18s, color .18s; color: var(--ink); }
.cards-rail .nav:hover { background: var(--ink); color: #fff; }
.cards-rail .nav.prev { left: 0; }
.cards-rail .nav.next { right: 0; }

/* ── Trust bar ── */
.trust { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0; }
.trust .wrap { display: grid; grid-template-columns: 180px 1fr; gap: 48px; align-items: center; }
.trust p { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; max-width: 20ch; }
.trust .logos { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust .logo {  font-style: normal; font-weight: 500; font-size: 1.3rem; color: var(--muted); opacity: .85; letter-spacing: -.015em; transition: opacity .2s, color .2s; }
.trust .logo:hover { opacity: 1; color: var(--ink); }
@media (max-width: 760px) { .trust .wrap { grid-template-columns: 1fr; gap: 20px; } }

/* ── Sections ── */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
section.alt { background: var(--surface); }
section.lilac { background: var(--bg); }
.head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.head.left { text-align: left; margin: 0 0 48px; }
.head p { font-size: 1.08rem; max-width: 56ch; margin: 20px auto 0; }
.head.left p { margin-left: 0; margin-right: 0; }

/* ── Service / tile grids ── */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 20px 36px -18px rgba(26, 26, 46, .12); }
a.card { text-decoration: none; color: inherit; display: block; }
.card .n {  font-size: 2.4rem; font-weight: 400; color: var(--green); line-height: 1; margin-bottom: 20px; letter-spacing: -.03em; }
.card h3 {  font-weight: 500; font-size: 1.4rem; letter-spacing: -.015em; margin-bottom: 10px; }
.card p { font-size: .96rem; }
.card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.card li { font-size: .88rem; color: var(--ink-2); padding-left: 20px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 2px; background: var(--green); border-radius: 2px; }
.card .more { color: var(--blue); font-weight: 600; font-size: .9rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; }
.card .more svg { transition: transform .2s; }
.card .more:hover svg { transform: translateX(4px); }

/* bento for asymmetric sections */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento .card.span-3 { grid-column: span 3; }
.bento .card.span-2 { grid-column: span 2; }
.bento .card.span-4 { grid-column: span 4; }
.bento .card.span-6 { grid-column: span 6; }
.card.img { color: #fff; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.card.img h3, .card.img p { color: #fff; position: relative; z-index: 1; }
.card.img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(26, 26, 46, .72)); z-index: 0; }
.card.green { background: var(--green); color: #fff; border-color: transparent; }
.card.green h3, .card.green p { color: #fff; }
.card.green li { color: rgba(255, 255, 255, .9); }
.card.green li::before { background: #fff; }
.card.green .more { color: #fff; }
.card.dark { background: var(--ink); color: #fff; border-color: transparent; }
.card.dark h3, .card.dark p { color: #fff; }
.card.dark li { color: rgba(255, 255, 255, .85); }
.card.dark .more { color: #a3cff5; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .bento .card[class*="span-"] { grid-column: span 1; } }

/* ── Services page toolbar & list ── */
.toolbar { position: sticky; top: 72px; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); padding: 20px 0; }
.toolbar .inner { display: flex; gap: 20px; align-items: center; }
.search { flex: 1; max-width: 380px; padding: 12px 18px 12px 44px; border-radius: 999px; border: 1px solid var(--line-strong); font: inherit; background: var(--surface) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%235a5f73" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg>') 16px center/18px no-repeat; }
.search:focus { border-color: var(--blue); outline: none; }
.chips { display: flex; gap: 6px; overflow-x: auto; flex: 1; min-width: 0; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { white-space: nowrap; text-decoration: none; font-weight: 500; font-size: .86rem; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); transition: background .18s, color .18s; }
.chips a:hover { background: var(--surface); color: var(--blue); }
.practice { padding: 56px 0 24px; scroll-margin-top: 170px; border-bottom: 1px solid var(--line); }
.practice-head { margin-bottom: 32px; max-width: 760px; }
.practice-head h2 {  font-weight: 500; font-size: 1.9rem; margin: 0; }
.srv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.srv { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; transition: border-color .2s, box-shadow .2s; }
.srv:hover { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.srv h3 { margin: 0; font-size: 1rem; font-weight: 600; font-family: var(--sans); color: var(--ink); }
.empty { display: none; padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 12px; margin: 40px 0; }

/* ── Industry row (industries.html) ── */
.ind { display: grid; grid-template-columns: 1fr 2fr auto; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ind h3 {  font-weight: 500; font-size: 1.7rem; letter-spacing: -.015em; margin: 0; }
.ind p { font-size: 1rem; margin: 0; }
.ind .pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ind .pills span { font-size: .76rem; padding: 5px 11px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; }
.ind .roi {  font-style: normal; font-size: .98rem; color: var(--green-ink); max-width: 24ch; text-align: right; }
@media (max-width: 900px) { .ind { grid-template-columns: 1fr; gap: 14px; } .ind .roi { text-align: left; } }

/* ── Pull quote ── */
.pull { background: var(--surface); padding: 120px 0; text-align: center; }
.pull blockquote { margin: 0 auto; max-width: 24ch;  font-weight: 400; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.pull blockquote em { font-style: normal; color: var(--blue); }
.pull cite { display: block; margin-top: 28px; font-style: normal; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ── Checks ── */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.checks li svg { color: var(--green); margin-top: 2px; }
.checks b { display: block; font-weight: 600; margin-bottom: 4px; color: var(--ink); font-family: var(--sans); }
.checks span { color: var(--ink-2); font-size: .96rem; }

/* ── FAQ ── */
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; padding: 22px 24px; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; color: var(--ink); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft) center/12px no-repeat url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2327a04f" stroke-width="2.5" stroke-linecap="round"><path d="M12 5v14M5 12h14"/></svg>'); flex: none; transition: transform .25s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq summary:hover { color: var(--blue); }
details.faq div { padding: 0 24px 22px; color: var(--ink-2); max-width: 68ch; }
details.faq a { color: var(--blue); }

/* ── People ── */
.person { display: grid; grid-template-columns: 92px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.avatar { width: 92px; height: 92px; border-radius: 50%; background: var(--bg-2); color: var(--blue);  font-weight: 500; font-size: 2rem; display: grid; place-items: center; letter-spacing: -.03em; }
.person h3 {  font-weight: 500; font-size: 1.6rem; margin: 0 0 4px; letter-spacing: -.015em; }
.person .role { font-size: .78rem; color: var(--blue); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.person p { font-size: .98rem; margin: 0; }

/* ── Contact ── */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 36px; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 22px; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.contact-list svg { color: var(--green); margin-top: 3px; }
.contact-list small { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 2px; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--blue); }
form { display: grid; gap: 14px; background: var(--surface); padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
form h2 {  font-weight: 500; font-size: 1.5rem; margin: 0 0 6px; }
label { font-size: .82rem; font-weight: 600; color: var(--ink); display: grid; gap: 6px; }
input, select, textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); border-radius: 10px; transition: border-color .18s, box-shadow .18s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.hint { font-size: .78rem; color: var(--muted); margin: 0; }
.map { width: 100%; height: 320px; border: 1px solid var(--line); border-radius: var(--radius); filter: saturate(.85); }

/* ── CTA band ── */
.cta-band { background: var(--ink); color: #fff; }
.cta-band .wrap { padding: 72px 24px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.cta-band h2 {  font-weight: 400; font-size: clamp(2rem, 4.4vw, 3rem); color: #fff; margin: 0; letter-spacing: -.02em; }
.cta-band h2 em { font-style: normal; color: #7bd49a; }
.cta-band p { color: #c6ccda; margin: 20px 0 0; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ── Footer ── */
footer.site { background: var(--surface); border-top: 1px solid var(--line); padding: 60px 0 24px; font-size: .92rem; color: var(--muted); }
footer.site .cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; margin-bottom: 48px; }
@media (max-width: 820px) { footer.site .cols { grid-template-columns: 1fr 1fr; gap: 32px; } }
footer.site h4 { color: var(--ink); margin-bottom: 16px; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer.site a { color: var(--ink-2); text-decoration: none; }
footer.site a:hover { color: var(--blue); }
footer.site .brand img { height: 46px; margin-bottom: 20px; }
footer.site .base { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: var(--muted); }

/* ── Dixor preloader ─────────────────────────────────────────── */
/* A thin loader bar at the top on first paint, fades out when window loads. */
@keyframes loader-aim { 0% { width: 0; } 55% { width: 72%; } 100% { width: 100%; } }
.preloader {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 999;
  background: var(--green-soft); overflow: hidden;
  transition: opacity .4s ease .2s; pointer-events: none;
}
.preloader::after {
  content: ""; display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--green), var(--blue));
  animation: loader-aim 1.3s cubic-bezier(.16, 1, .3, 1) forwards;
}
.preloader.done { opacity: 0; }

/* ── Dixor-style decorative motion ──────────────────────────────── */
/* Morphing organic blob: shifting border-radius so the gradient halo doesn't look like a static circle. */
@keyframes blob { 0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; } 50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; } }
/* Slow bob — floating badges, hero accents. */
@keyframes updown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
/* Pulse-ring behind a primary CTA. */
@keyframes pulse-ring { 0% { transform: translate(-50%, -50%) scale(1); opacity: .6; } 100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; } }
/* Shine sweep across a surface. */
@keyframes shine { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
/* Slow infinite rotation for an orbiting badge. */
@keyframes slow-spin { to { transform: rotate(360deg); } }
/* Sticky-nav entrance on first load. */
@keyframes nav-in { from { transform: translateY(-140%); } to { transform: translateY(0); } }
/* Text clip-path wave reveal (dixor hero signature). */
@keyframes text-wave {
  0%, 100% { clip-path: polygon(0 45%, 16% 44%, 33% 50%, 54% 60%, 70% 61%, 84% 59%, 100% 52%, 100% 100%, 0 100%); }
  50% { clip-path: polygon(0 60%, 15% 65%, 34% 66%, 51% 62%, 67% 50%, 84% 45%, 100% 46%, 100% 100%, 0 100%); }
}

header.site { animation: nav-in .9s cubic-bezier(.16, 1, .3, 1) both; }

/* Replace the static hero blobs with morphing blobs. */
.hero::before { animation: drift 20s ease-in-out infinite, blob 14s ease-in-out infinite; }
.hero::after { animation: drift 20s ease-in-out infinite, blob 18s ease-in-out infinite reverse; animation-delay: -10s, -4s; }

/* Floating badge chip inside the hero (a small specular pill above the H1). */
.badge-float {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 10px 30px -14px rgba(26, 26, 46, .22), inset 0 1px 0 rgba(255, 255, 255, .8);
  font-size: .78rem; font-weight: 600; color: var(--ink);
  animation: updown 4.5s ease-in-out infinite;
  margin-bottom: 20px;
}
.badge-float .ping { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.badge-float .ping::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1px solid var(--green);
  animation: pulse-ring 1.8s cubic-bezier(.16, 1, .3, 1) infinite;
}

/* Pulse ring on the primary hero CTA. */
.hero-actions .btn-primary { position: relative; }
.hero-actions .btn-primary::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 100%; height: 100%;
  border-radius: 999px; background: var(--green); z-index: -1;
  animation: pulse-ring 2.2s cubic-bezier(.16, 1, .3, 1) infinite;
}

/* ZoomUpDown — a pulsing accent on service numbers / icons. */
@keyframes zoom-up-down { 0%, 100% { transform: scale(.9); } 50% { transform: scale(1); } }
.card .n { display: inline-block; animation: zoom-up-down 3s ease-in-out infinite; transform-origin: left; }

/* HeartBeat for the live status dot. */
@keyframes heart-beat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.3); } 60% { transform: scale(1); } }
.badge-float .ping { animation: heart-beat 1.5s ease-in-out infinite; }

/* RubberBand — count-up metric numbers get a quick elastic settle after the roll. */
@keyframes rubber-band {
  0% { transform: scale(1); }
  30% { transform: scale3d(1.08, .92, 1); }
  60% { transform: scale3d(.96, 1.03, 1); }
  100% { transform: scale(1); }
}
.metric b.counted { animation: rubber-band .6s cubic-bezier(.16, 1, .3, 1); transform-origin: left bottom; }

/* FadeInUp/Left/Right stagger — reveal variants chosen by data-dir. */
@keyframes fade-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fade-left { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes fade-right { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
.reveal.in[data-dir="left"] { animation: fade-left .8s cubic-bezier(.16, 1, .3, 1) both; opacity: 1; transform: none; }
.reveal.in[data-dir="right"] { animation: fade-right .8s cubic-bezier(.16, 1, .3, 1) both; opacity: 1; transform: none; }

/* InfiniteMove2 — a second morphing blob with inverse motion for depth. */
@keyframes blob2 { 0%, 100% { border-radius: 50% 50% 40% 60% / 60% 50% 50% 40%; transform: rotate(0); } 50% { border-radius: 40% 60% 60% 40% / 40% 60% 40% 60%; transform: rotate(10deg); } }

/* Moving — subtle horizontal nudge for a decorative dot pattern. */
@keyframes moving { 0%, 100% { transform: translateX(-6px); } 50% { transform: translateX(6px); } }

/* Tada energy for the "Hire a team" nav CTA when hovered. */
@keyframes tada {
  0%, 100% { transform: scale(1) rotate(0); }
  10%, 20% { transform: scale(.95) rotate(-3deg); }
  30%, 50%, 70%, 90% { transform: scale(1.06) rotate(3deg); }
  40%, 60%, 80% { transform: scale(1.06) rotate(-3deg); }
}
.header-right .btn-primary:hover { animation: tada .9s cubic-bezier(.4, 0, .2, 1); }

/* Shine sweep across hero H1 keywords. */
.u-under { background: linear-gradient(100deg, transparent 20%, rgba(39, 160, 79, .14) 50%, transparent 80%); background-size: 200% 100%; animation: shine 4s linear infinite; }

/* Orbiting badge in a corner of a card — slow continuous rotation. */
.orbit {
  position: absolute; top: -18px; right: -18px;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -16px rgba(26, 26, 46, .25);
}
.orbit svg { animation: slow-spin 20s linear infinite; color: var(--blue); }

/* Image hover zoom on cards with background images. */
.card.img { transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.card.img:hover { transform: translateY(-6px); }
.card.img::before {
  content: ""; position: absolute; inset: 0; background-image: inherit; background-size: cover; background-position: center;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.card.img:hover::before { transform: scale(1.06); }

/* Portrait zoom on hero image on hover. */
.portrait img { transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.portrait:hover img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  header.site { animation: none; }
  .hero::before, .hero::after { animation: none; }
  .badge-float, .hero-actions .btn-primary::after, .u-under, .orbit svg, .portrait img { animation: none; }
}

/* ── Scroll-fill text (words darken as they enter view) ──
   Each word is split into a span. JS sets --w (0..1) based on scroll progress
   through the viewport; CSS maps that to color + translate for a smooth sweep. */
/* Characters start translated below the baseline + hidden, then slide up as scroll passes.
   SplitType-style per-char reveal (Dixor's "Actionable" effect). */
.scroll-fill { overflow: hidden; padding-bottom: .18em; }
.scroll-fill .w { display: inline-block; white-space: pre; }
.scroll-fill .c {
  display: inline-block;
  transform: translateY(1.1em);
  opacity: 0;
  transition: transform .55s cubic-bezier(.2, .9, .3, 1), opacity .35s linear;
  will-change: transform;
}
.scroll-fill .c.on { transform: translateY(0); opacity: 1; }
.cta-band .scroll-fill .c, .pull.dark .scroll-fill .c { color: #fff; }

/* ── Animated testimonials (Framer-Motion port) ──
   Image stack rotates behind the active one, active card bounces on change,
   quote words blur-in with staggered delay. */
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; max-width: 1080px; margin: 0 auto; align-items: center; }
@media (max-width: 820px) { .testimonials-grid { grid-template-columns: 1fr; gap: 32px; } }
.t-stack { position: relative; height: 420px; perspective: 1400px; transform-style: preserve-3d; }
.t-img {
  position: absolute; inset: 0;
  border-radius: 24px; overflow: hidden;
  transform-origin: bottom center;
  background: var(--bg-2);
  transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .55s cubic-bezier(.16, 1, .3, 1), z-index 0s linear .25s;
}
.t-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-img.inactive { opacity: .7; transform: scale(.94) rotate(var(--rot, 0deg)); }
.t-img.active { opacity: 1; transform: scale(1) rotate(0); z-index: 20; transition-delay: 0s; }
@keyframes t-bounce {
  0% { transform: translateY(0) scale(1) rotate(0); }
  45% { transform: translateY(-72px) scale(1.02) rotate(0); }
  100% { transform: translateY(0) scale(1) rotate(0); }
}
.t-img.active.bounce { animation: t-bounce .9s cubic-bezier(.16, 1, .3, 1); }

.t-content { display: flex; flex-direction: column; gap: 28px; padding: 4px 0; }
.t-name { font-size: 1.5rem; font-weight: 700; margin: 0; letter-spacing: -.02em; color: var(--ink); }
.t-role { font-size: .9rem; color: var(--muted); margin: 6px 0 0; font-weight: 500; }
.t-quote { font-size: 1.14rem; color: var(--ink-2); line-height: 1.55; margin: 0; max-width: 42ch; }
@keyframes t-word-in {
  from { filter: blur(10px); opacity: 0; transform: translateY(5px); }
  to { filter: blur(0); opacity: 1; transform: translateY(0); }
}
.t-quote .tw { display: inline-block; animation: t-word-in .4s cubic-bezier(.16, 1, .3, 1) both; }

.t-head { display: block; }
.t-head .fade { animation: t-head-in .35s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes t-head-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.t-nav { display: flex; gap: 12px; margin-top: 8px; }
.t-nav button {
  width: 46px; height: 46px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; color: var(--ink);
  transition: background .18s, color .18s, transform .08s, border-color .18s;
}
.t-nav button:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.t-nav button:active { transform: translateY(1px); }
.t-nav button svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  .t-img.active.bounce { animation: none; }
  .t-quote .tw, .t-head .fade { animation: none; filter: none; opacity: 1; transform: none; }
}

/* ── Mobile tuning ─────────────────────────────────────────────── */
@media (max-width: 760px) {
  :root { --wrap: 100%; }
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  header.site { top: 12px; padding: 0 12px; }
  header.site .inner { height: 60px; padding: 0 6px 0 18px; border-radius: 999px; }
  .brand img { height: 36px; }

  /* Sections breathe less on small screens so you scroll faster to real content. */
  section { padding: 56px 0; }
  section.tight { padding: 36px 0; }
  .head { margin-bottom: 32px; }
  .head p { font-size: 1rem; }

  /* Hero gets most of the compression. */
  .hero { padding: 24px 0 48px; min-height: auto; }
  .hero .wrap { gap: 28px; }
  .hero h1 br { display: none; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); line-height: 1.1; }
  .hero .lead { font-size: 1rem; }
  .hero-actions .btn { padding: 13px 22px; font-size: .96rem; }
  .toggle { font-size: .84rem; margin-bottom: 24px; }
  .toggle button { padding: 8px 14px; }
  .badge-float { font-size: .72rem; padding: 7px 12px 7px 10px; }
  .portrait { aspect-ratio: 4/5; }
  .profile-card { width: 200px; padding: 14px 16px; right: 10px; bottom: 10px; }
  .profile-card .world { width: 56px; height: 36px; top: 10px; right: 10px; }
  .orbit { width: 56px; height: 56px; top: -14px; right: -14px; }

  /* Metrics strip: cleaner 2 col grid, smaller numerals. */
  .metrics-strip { padding: 40px 0; }
  .metric b { font-size: 2rem; }
  .metric small { font-size: .78rem; }

  .marquee-strip { padding: 32px 0 40px; }
  .marquee-track span { font-size: .96rem; }
  .marquee-track { gap: 36px; }
  .marquee-track span::after { margin-left: 36px; }

  /* Services rail card width shrinks so one+preview fits a phone. */
  .rail-card { flex-basis: min(84vw, 320px); padding: 32px; min-height: 360px; }
  .rail-card h3 { font-size: 1.5rem; }
  .cards-rail { padding: 0 20px; }
  .cards-rail .nav { display: none; }

  /* Testimonials: tighten the stack on phones and reduce bounce amplitude. */
  .testimonials-grid { gap: 24px; }
  .t-stack { height: 320px; }
  .t-quote { font-size: 1rem; }
  @keyframes t-bounce {
    0% { transform: translateY(0) scale(1); }
    45% { transform: translateY(-40px) scale(1.02); }
    100% { transform: translateY(0) scale(1); }
  }

  /* Pull quote */
  .pull { padding: 72px 0; }
  .pull blockquote { font-size: clamp(1.6rem, 7vw, 2.2rem); }

  /* CTA band + footer */
  .cta-band .wrap { padding: 56px 20px; grid-template-columns: 1fr; gap: 24px; }
  .cta-band h2 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  footer.site { padding: 56px 0 24px; }
  footer.site .cols { gap: 28px; margin-bottom: 32px; }

  /* Services page toolbar sticky offset matches the mobile header height. */
  .toolbar { top: 72px; padding: 14px 0; }
  .toolbar .inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .search { max-width: 100%; }
  .practice { padding: 48px 0 16px; scroll-margin-top: 150px; }
  .practice-head h2 { font-size: 1.5rem; }

  /* Trust bar: single column, logos wrap. */
  .trust { padding: 28px 0; }
  .trust p { max-width: none; }
  .trust .logos { justify-content: flex-start; gap: 16px 20px; }
  .trust .logo { font-size: 1.1rem; }

  /* Industry row stacks naturally; just tighten padding. */
  .ind { padding: 32px 0; gap: 12px; }
  .ind h3 { font-size: 1.4rem; }

  /* Contact map shorter on phones so form stays close. */
  .map { height: 240px; }
  form { padding: 22px; border-radius: 16px; }

  /* FAQ summary padding + font. */
  details.faq summary { padding: 20px 18px; font-size: 1rem; gap: 14px; }
  details.faq div { padding: 0 18px 20px; }
}

/* Scroll-fill: on narrow screens the reveal line sits closer to top so the effect isn't missed. */
@media (max-width: 560px) {
  .nav-icon-only .link-plain { display: none; }
}

/* Prevent horizontal page scroll when any decorative element overflows. */
html, body { overflow-x: hidden; }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }

/* Split helper */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
