/* =========================================================
   Trinizent Global Tech — site styles
   ========================================================= */

:root {
  --bg: #f5f7fc;
  --surface: #ffffff;
  --ink: #0b1530;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e3e8f2;
  --navy: #060d26;
  --navy-2: #0c1840;
  --navy-3: #13225a;
  --brand-1: #22d3ee;
  --brand-2: #6366f1;
  --brand-3: #a855f7;
  --accent: #22d3ee;
  --accent2: #6366f1;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, .08);
  --shadow: 0 18px 40px -18px rgba(15, 23, 42, .22);
  --shadow-lg: 0 30px 70px -25px rgba(15, 23, 42, .35);
  --maxw: 1220px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* theme accents (set on <body>) */
.t-brand  { --accent: #22d3ee; --accent2: #6366f1; }
.t-health { --accent: #14b8a6; --accent2: #0ea5e9; }
.t-it     { --accent: #818cf8; --accent2: #a855f7; }
.t-acct   { --accent: #f59e0b; --accent2: #f97316; }
.t-bpo    { --accent: #ec4899; --accent2: #8b5cf6; }

*, *::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: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }

.grad-text {
  background: linear-gradient(100deg, var(--accent), var(--accent2) 55%, var(--brand-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto; animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--accent2);
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 .98rem/1 var(--font-head);
  padding: 1em 1.6em; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(110deg, var(--accent), var(--accent2));
  box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--accent2) 70%, transparent);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px color-mix(in srgb, var(--accent2) 80%, transparent); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-outline { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--accent2); color: var(--accent2); transform: translateY(-2px); }
.btn-sm { padding: .75em 1.25em; font-size: .9rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font: 600 .95rem var(--font-head); color: var(--accent2); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, box-shadow .4s, padding .4s;
  padding: 12px 0; color: #fff;
}
.site-header.scrolled {
  background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(15,23,42,.3);
  padding: 8px 0; color: var(--ink);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-tile { display: block; width: 74px; height: 74px; padding: 3px; border-radius: 16px; background: #fbfbfb; box-shadow: 0 10px 28px -12px rgba(0,0,0,.45); transition: width .4s var(--ease), height .4s var(--ease); }
.logo-tile img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.site-header.scrolled .logo-tile { width: 60px; height: 60px; box-shadow: 0 0 0 1px var(--line); }
.site-footer .logo-tile { width: 150px; height: 150px; border-radius: 24px; padding: 6px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  font: 600 .92rem var(--font-head); padding: 10px 13px; border-radius: 10px;
  opacity: .88; transition: opacity .2s, background .2s; background: none; border: 0; color: inherit; cursor: pointer;
}
.nav-link svg { width: 15px; height: 15px; transition: transform .3s; }
.nav-link:hover, .nav-item:focus-within > .nav-link { opacity: 1; background: rgba(127,140,180,.14); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.nav-link.active { opacity: 1; }
.nav-link.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand-1), var(--brand-2)); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translate(-50%, 10px); opacity: 0; visibility: hidden;
  transition: all .3s var(--ease);
  background: #fff; color: var(--ink); border-radius: 18px; padding: 10px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); min-width: 260px;
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font: 600 .9rem var(--font-head); transition: background .2s; }
.dd-link:hover { background: var(--bg); }
.dd-link .dd-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; color: var(--c, var(--brand-2)); background: color-mix(in srgb, var(--c, var(--brand-2)) 12%, white); }
.dd-link .dd-ico svg { width: 18px; height: 18px; }
.dd-link small { display: block; font: 500 .78rem var(--font-body); color: var(--muted); }
.mega { display: grid; grid-template-columns: repeat(3, 230px); gap: 6px; padding: 12px; }
.mega h5 { font: 700 .72rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 6px 12px 8px; display: flex; align-items: center; gap: 8px; }
.mega h5::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.mega .dd-link { padding: 8px 12px; font-weight: 500; }
.mega .dd-link.head { font-weight: 700; }
.mega-foot { grid-column: 1 / -1; margin-top: 8px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(110deg, #eef7ff, #f3efff); display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 600 .9rem var(--font-head); }

.nav-cta { margin-left: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(127,140,180,.35); background: transparent; color: inherit; cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 1180px) {
  .menu-btn { display: grid; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 100%);
    background: #fff; color: var(--ink); flex-direction: column; align-items: stretch;
    padding: 88px 20px 30px; overflow-y: auto; transform: translateX(100%);
    transition: transform .45s var(--ease); box-shadow: var(--shadow-lg);
  }
  .nav-open .nav { transform: none; }
  .nav > ul { flex-direction: column; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1rem; }
  .nav-link.active::after { display: none; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 0 8px; display: none; min-width: 0; }
  .nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown { transform: none; }
  .nav-item.open > .dropdown { display: block; }
  .nav-item.open .nav-link svg { transform: rotate(180deg); }
  .nav-item:hover .nav-link svg { transform: none; }
  .mega { grid-template-columns: 1fr; padding: 0; }
  .mega-foot { display: none; }
  .nav-cta { margin: 18px 0 0; justify-content: center; }
  .nav-close { position: absolute; top: 22px; right: 20px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(6,13,38,.5); opacity: 0; visibility: hidden; transition: .4s; z-index: -1; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
}
@media (min-width: 1181px) { .nav-close, .nav-backdrop { display: none; } }
@media (max-width: 1180px) { .ind-dd { grid-template-columns: 1fr !important; min-width: 0 !important; } }
[id] { scroll-margin-top: 100px; }

/* ---------- Dark hero / banners ---------- */
.dark { background: var(--navy); color: #c7d2fe; position: relative; isolation: isolate; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.fx { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.fx .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.fx .b1 { width: 520px; height: 520px; background: var(--accent); top: -160px; left: -120px; opacity: .35; }
.fx .b2 { width: 600px; height: 600px; background: var(--accent2); bottom: -260px; right: -140px; animation-delay: -6s; opacity: .45; }
.fx .b3 { width: 340px; height: 340px; background: var(--brand-3); top: 30%; left: 45%; animation-delay: -12s; opacity: .25; }
.fx .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(148,163,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,255,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  animation: gridmove 20s linear infinite;
}
.fx canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,40px) scale(1.12); } 100% { transform: translate(-40px,70px) scale(.95); } }
@keyframes gridmove { to { background-position: 56px 56px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 .78rem var(--font-head); letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.dark .eyebrow { color: var(--accent); }

/* Page banner: photo + soft overlay */
.banner { padding: 190px 0 150px; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.banner > .container { width: min(var(--maxw), 100% - 40px); }
.banner-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--navy); }
.banner-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 70% 40%; animation: kenburns 20s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.banner-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,13,38,.95) 0%, rgba(6,13,38,.85) 38%, rgba(6,13,38,.45) 72%, rgba(6,13,38,.25) 100%),
    linear-gradient(0deg, rgba(6,13,38,.7) 0%, transparent 45%),
    radial-gradient(60% 80% at 0% 100%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
}
.banner-content { max-width: 680px; }
.banner-content > * { animation: fadeup 1s var(--ease) both; }
.banner-content > :nth-child(2) { animation-delay: .1s; }
.banner-content > :nth-child(3) { animation-delay: .2s; }
.banner-content > :nth-child(4) { animation-delay: .3s; }
.banner-content > :nth-child(5) { animation-delay: .4s; }
.banner h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.banner .lead { font-size: 1.12rem; color: #c3cdee; max-width: 620px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 600 .82rem var(--font-head); color: #9aa8d6; margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.crumbs span:last-child { color: var(--accent); }
.banner-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; color: var(--bg); }
.wave svg { width: 100%; height: 100%; }

/* Home hero */
.hero { min-height: 100vh; min-height: 100svh; padding: 150px 0 130px; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; align-items: center; }
.hero-card {
  padding: 22px; border-radius: 24px; background: rgba(12,22,58,.55); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
  animation: fadeup 1s var(--ease) .5s both;
}
.hc-label { display: block; font: 700 .72rem var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: #9aa8d6; margin: 2px 6px 12px; }
.hero-row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; color: #fff; transition: background .3s, transform .4s var(--ease); }
.hero-row + .hero-row { margin-top: 6px; }
.hero-row:hover { background: rgba(255,255,255,.08); transform: translateX(4px); }
.hero-row .hr-ico { width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 50%, #6366f1)); }
.hero-row .hr-ico svg { width: 21px; height: 21px; }
.hero-row b { display: block; font: 700 1rem var(--font-head); }
.hero-row small { color: #a9b5dc; font-size: .82rem; }
.hero-row > svg { width: 18px; margin-left: auto; flex-shrink: 0; color: #8e9cc9; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* sticky in-page navigation */
.subnav { position: sticky; top: 76px; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.subnav-in { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; white-space: nowrap; font: 600 .9rem var(--font-head); color: var(--ink-2); transition: background .3s, color .3s; }
.subnav a svg { width: 16px; height: 16px; color: var(--accent2); transition: color .3s; }
.subnav a:hover { background: var(--bg); }
.subnav a.on { background: linear-gradient(110deg, var(--accent), var(--accent2)); color: #fff; }
.subnav a.on svg { color: #fff; }
main [id] { scroll-margin-top: 150px; }

/* photo frame */
.photo { position: relative; margin: 0; }
.photo::before { content: ""; position: absolute; inset: 28px -20px -20px 28px; border-radius: 30px; background: linear-gradient(140deg, var(--accent), var(--accent2)); opacity: .16; z-index: -1; }
.photo .frame { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.photo img { width: 100%; height: auto; aspect-ratio: 4 / 3.2; object-fit: cover; transition: transform 1.4s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo-badge { position: absolute; left: -22px; bottom: 30px; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; max-width: 80%; }
.photo-badge b { display: block; font: 700 .95rem var(--font-head); color: var(--ink); }
.photo-badge small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.dark .photo::before { opacity: .3; }
@media (max-width: 600px) { .photo-badge { left: 12px; bottom: 12px; } .photo::before { inset: 16px -8px -10px 16px; } }

/* category cards */
.card.cat-card { padding: 0; }
.cat-img { position: relative; height: 220px; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,13,38,.45), transparent 60%); }
.cat-card:hover .cat-img img { transform: scale(1.06); }
.cat-ico { position: relative; z-index: 1; margin: -58px 0 16px; }
.cat-ico .ico { box-shadow: 0 0 0 5px #fff, 0 12px 26px -12px var(--accent2); }
.cat-body { padding: 0 28px 30px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { margin: 0 0 10px; font-size: 1.35rem; }

/* services dropdown */
.svc-dd { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 14px; transition: background .25s; }
.svc-dd:hover { background: var(--bg); }
.svc-dd .dd-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, white); margin-bottom: 6px; }
.svc-dd .dd-ico svg { width: 20px; height: 20px; }
.svc-dd b { font: 700 1rem var(--font-head); }
.svc-dd small { font-size: .84rem; color: var(--muted); }
.svc-dd .link-arrow { margin-top: 6px; font-size: .85rem; color: var(--c); }

/* ---------- Sections ---------- */
section { position: relative; overflow-x: clip; }
.section { padding: 110px 0; }
.section.tight { padding: 80px 0; }
.section.alt { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.dark .section-head p { color: #a9b5dc; }
.section-head .row { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* animated icon tile */
.ico {
  width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; flex-shrink: 0;
  color: var(--accent2);
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 16%, white), color-mix(in srgb, var(--accent2) 14%, white));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent2) 14%, transparent);
  transition: transform .5s var(--ease), background .5s, color .5s, box-shadow .5s;
  position: relative;
}
.ico svg { width: 27px; height: 27px; stroke-width: 1.8; }
.ico.lg { width: 72px; height: 72px; border-radius: 22px; }
.ico.lg svg { width: 34px; height: 34px; }
.ico.sm { width: 44px; height: 44px; border-radius: 13px; }
.ico.sm svg { width: 21px; height: 21px; }
.ico.solid { color: #fff; background: linear-gradient(140deg, var(--accent), var(--accent2)); box-shadow: 0 12px 26px -12px var(--accent2); }
.dark .ico { background: rgba(255,255,255,.06); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(165,180,252,.2); }

/* draw-in effect for every icon inside a revealed block */
.draw svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .draw svg *, .draw.in svg * { animation: draw 1.4s var(--ease) forwards; animation-delay: var(--dd, .15s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hov:hover .ico { transform: translateY(-4px) rotate(-6deg) scale(1.06); color: #fff; background: linear-gradient(140deg, var(--accent), var(--accent2)); box-shadow: 0 16px 30px -12px var(--accent2); }
.hov:hover .ico svg * { animation: redraw 1s var(--ease); }
@keyframes redraw { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
.float { animation: bob 5s ease-in-out infinite; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].in { opacity: 1; transform: none; }

/* cards */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
  overflow: hidden; display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%);
}
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent2)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent2) 30%, var(--line)); }
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scaleX(1); }
.card h3 { margin: 22px 0 10px; }
.card p { color: var(--muted); margin: 0; }
.card .link-arrow { margin-top: auto; padding-top: 20px; }
.card .num { position: absolute; top: 22px; right: 26px; font: 800 2.6rem var(--font-head); color: color-mix(in srgb, var(--accent2) 10%, transparent); line-height: 1; transition: color .4s; }
.card:hover .num { color: color-mix(in srgb, var(--accent2) 25%, transparent); }
.card ul.mini { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.card ul.mini li { display: flex; gap: 10px; font-size: .93rem; color: var(--ink-2); }
.card ul.mini li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.dark .card { background: rgba(255,255,255,.04); border-color: rgba(165,180,252,.14); }
.dark .card p { color: #a9b5dc; }
.dark .card:hover { border-color: rgba(165,180,252,.35); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }

/* domain cards (home) */
.domain-card { padding: 34px 30px; min-height: 100%; }
.domain-card .tag { display: inline-block; margin-top: 16px; font: 700 .72rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--accent2); }
.domain-card .bg-ico { position: absolute; right: -30px; bottom: -30px; width: 160px; height: 160px; color: color-mix(in srgb, var(--accent2) 7%, transparent); transition: transform .8s var(--ease); }
.domain-card:hover .bg-ico { transform: rotate(-12deg) scale(1.1); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.rev > :first-child { order: 2; }
.contact-split { align-items: start; grid-template-columns: .8fr 1.2fr; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 44px; } .split.rev > :first-child { order: 0; } }
.checks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.checks li .ck { width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 16%, white); color: var(--accent2); margin-top: 1px; }
.checks li .ck svg { width: 15px; height: 15px; stroke-width: 3; }
.checks.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .checks.two { grid-template-columns: 1fr; } }
.dark .checks li { color: #c7d2fe; }
.dark .checks li .ck { background: rgba(255,255,255,.08); color: var(--accent); }

/* visual panel */
.panel {
  position: relative; border-radius: 28px; padding: 34px; background: linear-gradient(150deg, var(--navy-2), var(--navy));
  color: #c7d2fe; overflow: hidden; isolation: isolate; box-shadow: var(--shadow-lg);
}
.panel::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: var(--accent2); filter: blur(90px); opacity: .45; top: -120px; right: -120px; z-index: -1; animation: drift 16s ease-in-out infinite alternate; }
.panel::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--accent); filter: blur(90px); opacity: .3; bottom: -120px; left: -80px; z-index: -1; }
.panel h3, .panel h4 { color: #fff; }
.panel-list { display: grid; gap: 12px; }
.panel-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(165,180,252,.14); transition: background .3s, transform .4s var(--ease);
}
.panel-row:hover { background: rgba(255,255,255,.1); transform: translateX(6px); }
.panel-row .ico { width: 44px; height: 44px; border-radius: 13px; }
.panel-row .ico svg { width: 21px; height: 21px; }
.panel-row b { color: #fff; font: 700 .98rem var(--font-head); display: block; }
.panel-row small { color: #9aa8d6; font-size: .84rem; }
.panel-row .go { margin-left: auto; width: 18px; color: #8e9cc9; transition: transform .3s; }
.panel-row:hover .go { transform: translateX(4px); color: #fff; }
.panel-stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.panel-stat div { padding: 16px; border-radius: 16px; background: rgba(255,255,255,.05); text-align: center; }
.panel-stat b { display: block; font: 800 1.6rem var(--font-head); color: #fff; }
.panel-stat small { font-size: .78rem; color: #9aa8d6; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 30px 20px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(165,180,252,.14); }
.stat .ico { margin: 0 auto 16px; }
.stat b { display: block; font: 800 clamp(2.4rem, 4vw, 3.2rem)/1 var(--font-head); background: linear-gradient(120deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; font: 600 .92rem var(--font-head); color: #a9b5dc; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* process flow */
.flow { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 18px; position: relative; counter-reset: step; }
.flow::before {
  content: ""; position: absolute; top: 36px; left: calc(50% / var(--n)); right: calc(50% / var(--n)); height: 2px;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent2) 35%, transparent) 0 8px, transparent 8px 14px);
}
.flow .progress { position: absolute; top: 35px; left: calc(50% / var(--n)); right: calc(50% / var(--n)); height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--accent2)); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease) .3s; }
.flow.in .progress { transform: scaleX(1); }
.flow .runner { position: absolute; top: 31px; left: calc(50% / var(--n)); width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--accent), 0 0 20px var(--accent); opacity: 0; }
.flow.in .runner { animation: run 5s var(--ease) 2.5s infinite; }
@keyframes run { 0% { left: calc(50% / var(--n)); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 50% / var(--n) - 12px); opacity: 0; } }
.flow .step { text-align: center; position: relative; }
.flow .step .ico { margin: 0 auto 18px; width: 72px; height: 72px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px color-mix(in srgb, var(--accent2) 25%, transparent); transition: all .5s var(--ease); transition-delay: calc(var(--i) * .25s + .3s); }
.section.alt .flow .step .ico { box-shadow: 0 0 0 6px var(--surface), 0 0 0 7px color-mix(in srgb, var(--accent2) 25%, transparent); }
.flow.in .step .ico { background: linear-gradient(140deg, var(--accent), var(--accent2)); color: #fff; }
.flow .step .ico svg { width: 30px; height: 30px; }
.flow .step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: -8px; left: calc(50% + 22px); font: 800 .72rem var(--font-head); color: var(--accent2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; z-index: 1; }
.flow .step h4 { margin-bottom: 6px; font-size: 1rem; }
.flow .step p { font-size: .88rem; color: var(--muted); margin: 0; }
.dark .flow .step .ico { background: var(--navy-2); box-shadow: 0 0 0 6px var(--navy), 0 0 0 7px rgba(165,180,252,.3); }
.dark .flow .step::before { background: var(--navy-2); border-color: rgba(165,180,252,.25); color: var(--accent); }
.dark .flow .step p { color: #a9b5dc; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow::before { top: 36px; bottom: 36px; left: 35px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--accent2) 35%, transparent) 0 8px, transparent 8px 14px); }
  .flow .progress { top: 36px; bottom: 36px; left: 34px; right: auto; width: 4px; height: auto; transform: scaleY(0); transform-origin: top; }
  .flow.in .progress { transform: scaleY(1); }
  .flow .runner { display: none; }
  .flow .step { display: grid; grid-template-columns: 72px 1fr; gap: 0 20px; text-align: left; padding-bottom: 28px; align-items: start; }
  .flow .step .ico { margin: 0; grid-row: span 2; }
  .flow .step h4 { margin-top: 12px; }
  .flow .step::before { left: 50px; top: -6px; }
}

/* cycle diagram */
.cycle { position: relative; width: min(560px, 100%); aspect-ratio: 1; margin-inline: auto; }
.cycle .track { position: absolute; inset: 12%; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--accent2) 30%, transparent); }
.cycle .sweep { position: absolute; inset: 12%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 70%, color-mix(in srgb, var(--accent) 70%, transparent)); mask: radial-gradient(circle, transparent 67%, #000 68%, #000 71%, transparent 72%); -webkit-mask: radial-gradient(circle, transparent 67%, #000 68%, #000 71%, transparent 72%); animation: spin 6s linear infinite; }
.cycle .center { position: absolute; inset: 33%; border-radius: 50%; display: grid; place-items: center; text-align: center; background: linear-gradient(150deg, var(--navy-2), var(--navy)); color: #fff; padding: 10%; box-shadow: var(--shadow-lg); }
.cycle .center b { font: 800 1.15rem/1.2 var(--font-head); }
.cycle .center small { display: block; color: #9aa8d6; font-size: .78rem; margin-top: 6px; }
.cycle .cnode { position: absolute; width: 132px; transform: translate(-50%, -50%); text-align: center; }
.cycle .cnode .ico { margin: 0 auto 8px; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.cycle .cnode b { font: 700 .95rem var(--font-head); color: var(--ink); display: block; }
.cycle .cnode small { font-size: .78rem; color: var(--muted); line-height: 1.35; display: block; }
.cycle .cnode:hover .ico { background: linear-gradient(140deg, var(--accent), var(--accent2)); color: #fff; transform: scale(1.1); }
@media (max-width: 640px) {
  .cycle { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .cycle .track, .cycle .sweep { display: none; }
  .cycle .center { position: static; grid-column: 1 / -1; border-radius: 20px; padding: 22px; order: -1; }
  .cycle .cnode { position: static; transform: none; width: auto; }
}

/* lifecycle (RCM) */
.lifecycle { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 12px; }
.lifecycle .lc {
  position: relative; padding: 26px 16px 22px; border-radius: 20px; text-align: center; background: var(--surface);
  border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s;
}
.lifecycle .lc:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.lifecycle .lc .ico { margin: 0 auto 14px; }
.lifecycle .lc b { display: block; font: 700 .95rem/1.3 var(--font-head); color: var(--ink); }
.lifecycle .lc small { display: block; margin-top: 6px; font-size: .8rem; color: var(--muted); line-height: 1.45; }
.lifecycle .lc .n { position: absolute; top: 10px; left: 14px; font: 800 .75rem var(--font-head); color: var(--accent2); }
.lifecycle .lc:not(:last-child)::after {
  content: ""; position: absolute; right: -11px; top: 50%; width: 10px; height: 10px; z-index: 2;
  border-top: 2px solid var(--accent2); border-right: 2px solid var(--accent2); transform: translateY(-50%) rotate(45deg);
  animation: nudge 1.6s ease-in-out infinite;
}
@keyframes nudge { 50% { transform: translate(4px, -50%) rotate(45deg); } }
.lifecycle-bar { height: 8px; border-radius: 8px; margin-top: 26px; background: var(--line); overflow: hidden; position: relative; }
.lifecycle-bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--accent2), var(--brand-3), var(--accent)); background-size: 200% 100%; animation: shine 3s linear infinite; transform: scaleX(0); transform-origin: left; transition: transform 2s var(--ease); }
.in .lifecycle-bar i, .lifecycle-bar.in i { transform: scaleX(1); }
.lifecycle-legend { display: flex; justify-content: space-between; margin-top: 10px; font: 600 .82rem var(--font-head); color: var(--muted); }
@media (max-width: 1024px) { .lifecycle { grid-template-columns: repeat(4, 1fr); row-gap: 22px; } .lifecycle .lc:nth-child(4n)::after { display: none; } }
@media (max-width: 560px) { .lifecycle { grid-template-columns: 1fr 1fr; } .lifecycle .lc::after { display: none; } }

/* detail blocks */
.detail { display: grid; grid-template-columns: 90px 1fr; gap: 26px; padding: 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .5s, transform .5s var(--ease); }
.detail:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.detail + .detail { margin-top: 20px; }
.detail h3 { margin: 4px 0 10px; font-size: 1.4rem; }
.detail p { color: var(--muted); }
.detail .checks { margin: 16px 0 0; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
@media (max-width: 680px) { .detail { grid-template-columns: 1fr; padding: 28px; } .detail .checks { grid-template-columns: 1fr; } }

/* table */
.xtable { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.xrow { display: grid; grid-template-columns: 280px 1fr; align-items: center; border-top: 1px solid var(--line); transition: background .3s; }
.xrow:first-child { border-top: 0; }
.xrow:hover { background: color-mix(in srgb, var(--c) 5%, white); }
.xrow.head { background: var(--navy); color: #fff; font: 700 .8rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; }
.xrow.head:hover { background: var(--navy); }
.xrow > div { padding: 20px 26px; }
.xrow .dom { display: flex; align-items: center; gap: 14px; font: 700 1.05rem var(--font-head); color: var(--ink); }
.xrow .dom .ico { --accent: var(--c); --accent2: var(--c); }
.xrow .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tagchip { display: inline-flex; align-items: center; padding: 6px 13px; border-radius: 999px; font: 600 .84rem var(--font-head); background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); transition: all .3s; }
.tagchip:hover { border-color: var(--accent2); color: var(--accent2); }
@media (max-width: 700px) { .xrow { grid-template-columns: 1fr; } .xrow.head > div:last-child { display: none; } .xrow > div:last-child { padding-top: 0; } }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.tab {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; cursor: pointer;
  font: 700 .95rem var(--font-head); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); transition: all .35s var(--ease);
}
.tab svg { width: 18px; height: 18px; color: var(--c); transition: color .3s; }
.tab:hover { border-color: var(--c); transform: translateY(-2px); }
.tab[aria-selected="true"] { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 12px 26px -12px var(--c); }
.tab[aria-selected="true"] svg { color: #fff; }
.tabpanel { display: none; }
.tabpanel.on { display: block; animation: fadeup .6s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* industries tiles */
.ind-tile {
  position: relative; padding: 28px 24px; border-radius: var(--radius); overflow: hidden; color: #fff; min-height: 210px;
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  background: linear-gradient(160deg, var(--navy-3), var(--navy)); transition: transform .5s var(--ease), box-shadow .5s;
}
.ind-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--c) 70%, transparent), transparent 60%); opacity: .55; transition: opacity .5s, transform .8s var(--ease); }
.ind-tile:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -25px color-mix(in srgb, var(--c) 70%, black); }
.ind-tile:hover::before { opacity: 1; transform: scale(1.3); }
.ind-tile .ico { position: absolute; top: 24px; left: 24px; background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.ind-tile .big { position: absolute; right: -20px; top: -20px; width: 130px; height: 130px; color: rgba(255,255,255,.06); z-index: -1; transition: transform .8s var(--ease); }
.ind-tile:hover .big { transform: rotate(15deg) scale(1.15); }
.ind-tile h3 { color: #fff; margin: 0 0 6px; font-size: 1.15rem; }
.ind-tile p { color: #b6c2e8; font-size: .9rem; margin: 0; }

/* capability bars */
.capgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(165,180,252,.14); transition: all .4s var(--ease); }
.cap:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.cap b { color: #fff; font: 700 1rem var(--font-head); display: block; }
.cap small { color: #9aa8d6; font-size: .85rem; }
@media (max-width: 960px) { .capgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .capgrid { grid-template-columns: 1fr; } }

/* marquee */
.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: 18px; width: max-content; animation: marquee 40s linear infinite; padding: 10px 0; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-chip { display: flex; align-items: center; gap: 14px; padding: 16px 26px 16px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); white-space: nowrap; transition: all .4s var(--ease); }
.logo-chip:hover { border-color: var(--accent2); box-shadow: var(--shadow); transform: translateY(-4px); }
.logo-chip .mono { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 800 1rem var(--font-head); color: #fff; background: linear-gradient(140deg, var(--c1, var(--accent)), var(--c2, var(--accent2))); }
.logo-chip b { font: 700 1rem var(--font-head); color: var(--ink); display: block; }
.logo-chip small { color: var(--muted); font-size: .8rem; }

/* client cards */
.client-card { display: flex; align-items: center; gap: 18px; padding: 24px; }
.client-card .mono { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; font: 800 1.2rem var(--font-head); color: #fff; background: linear-gradient(140deg, var(--c1), var(--c2)); transition: transform .5s var(--ease); }
.client-card:hover .mono { transform: rotate(-8deg) scale(1.08); }
.client-card h3 { margin: 0 0 4px; font-size: 1.08rem; }
.client-card p { font-size: .88rem; }

/* benefit */
.benefit { display: flex; gap: 20px; padding: 28px; }
.benefit h3 { margin: 0 0 8px; font-size: 1.12rem; }

/* values */
.value-card { text-align: center; align-items: center; padding: 36px 26px; }
.value-card .ico { margin-inline: auto; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: 70px 60px;
  background: linear-gradient(120deg, var(--navy-2), var(--navy)); color: #c7d2fe;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg at 70% 50%, transparent, color-mix(in srgb, var(--accent) 45%, transparent), transparent 30%, color-mix(in srgb, var(--accent2) 50%, transparent), transparent 60%); animation: spin 16s linear infinite; filter: blur(30px); }
.cta-band::after { content: ""; position: absolute; inset: 1px; border-radius: 31px; z-index: -1; background: linear-gradient(120deg, rgba(12,24,64,.88), rgba(6,13,38,.92)); }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; font-size: 1.08rem; max-width: 620px; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band .deco { position: absolute; right: 30px; top: 20px; width: 120px; height: 120px; color: rgba(255,255,255,.05); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 50px 30px; } }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font: 600 .88rem var(--font-head); color: var(--ink); }
.field label .req { color: #e11d48; }
.field input, .field select, .field textarea {
  font: 500 .98rem var(--font-body); color: var(--ink); padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--bg); transition: border-color .25s, box-shadow .25s, background .25s; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent2); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent2) 14%, transparent); }
.field.err input, .field.err select, .field.err textarea { border-color: #e11d48; }
.field .msg { font-size: .8rem; color: #e11d48; min-height: 0; display: none; }
.field.err .msg { display: block; }
.form-card { background: var(--surface); border-radius: 28px; padding: 44px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success .ico { margin: 0 auto 18px; }
.form.sent { display: none; }
.form.sent + .form-success { display: block; animation: fadeup .6s var(--ease); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent2); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .form-card { padding: 28px 22px; } }

.contact-info { display: grid; gap: 16px; }
.cinfo { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(165,180,252,.14); transition: all .4s var(--ease); }
.cinfo:hover { background: rgba(255,255,255,.09); transform: translateX(6px); }
.cinfo small { display: block; color: #9aa8d6; font-size: .8rem; }
.cinfo b { color: #fff; font: 700 1rem var(--font-head); }

/* accordion */
.acc { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: box-shadow .3s; }
.acc + .acc { margin-top: 12px; }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font: 700 1.02rem var(--font-head); color: var(--ink); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .pm { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--bg); color: var(--accent2); transition: transform .4s var(--ease), background .3s; }
.acc summary .pm svg { width: 16px; height: 16px; }
.acc[open] { box-shadow: var(--shadow); }
.acc[open] summary .pm { transform: rotate(45deg); background: var(--accent2); color: #fff; }
.acc .acc-body { padding: 0 24px 22px; color: var(--muted); }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 600 .9rem var(--font-head); cursor: pointer; color: var(--ink-2); transition: all .3s; }
.filter:hover { border-color: var(--accent2); }
.filter.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.is-hidden { display: none !important; }

/* insight cards */
.insight { padding: 0; }
.insight .thumb { height: 170px; position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(140deg, var(--c1), var(--c2)); }
.insight .thumb::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.25) 1px, transparent 1px); background-size: 16px 16px; opacity: .5; }
.insight .thumb svg { width: 64px; height: 64px; color: #fff; stroke-width: 1.4; transition: transform .8s var(--ease); position: relative; }
.insight:hover .thumb svg { transform: scale(1.15) rotate(-6deg); }
.insight .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.insight .meta { display: flex; gap: 10px; align-items: center; font: 600 .78rem var(--font-head); color: var(--muted); margin-bottom: 10px; }
.insight .cat { padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c1) 14%, white); color: color-mix(in srgb, var(--c1) 80%, black); }
.insight h3 { margin: 0 0 10px; font-size: 1.12rem; }
.insight .kw { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.insight .kw span { font-size: .75rem; padding: 3px 9px; border-radius: 6px; background: var(--bg); color: var(--muted); }

/* jobs */
.job { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px 26px; flex-direction: row; }
.job h3 { margin: 0 0 6px; font-size: 1.08rem; }
.job .jmeta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .85rem; color: var(--muted); }
.job .jmeta span { display: inline-flex; align-items: center; gap: 6px; }
.job .jmeta svg { width: 15px; height: 15px; }
.job + .job { margin-top: 14px; }
@media (max-width: 680px) { .job { grid-template-columns: 1fr; } }

/* case studies */
.case { display: grid; grid-template-columns: 380px 1fr; gap: 0; padding: 0; }
.case .side { padding: 40px; color: #c7d2fe; position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(160deg, var(--navy-3), var(--navy)); }
.case .side::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--c); filter: blur(80px); opacity: .45; top: -100px; right: -100px; z-index: -1; }
.case .side h3 { color: #fff; font-size: 1.5rem; margin: 20px 0 12px; }
.case .side .ico { background: rgba(255,255,255,.1); color: #fff; }
.case .side .services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.case .side .services span { font-size: .78rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #e0e7ff; }
.case .main { padding: 40px; }
.case .stages { display: grid; gap: 0; position: relative; }
.case .stage { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding-bottom: 22px; position: relative; }
.case .stage:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: linear-gradient(var(--accent), var(--accent2)); opacity: .3; }
.case .stage .dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent2) 12%, white); color: var(--accent2); font: 800 .8rem var(--font-head); }
.case .stage .dot svg { width: 18px; height: 18px; }
.case .stage h4 { margin: 8px 0 4px; }
.case .stage p { margin: 0; color: var(--muted); font-size: .94rem; }
.case + .case { margin-top: 28px; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } .case .side, .case .main { padding: 30px 26px; } }

/* feature strip */
.strip { display: flex; flex-wrap: wrap; gap: 12px; }
.strip .tagchip { padding: 10px 18px; font-size: .9rem; background: var(--surface); }
.strip .tagchip svg { width: 16px; height: 16px; margin-right: 8px; color: var(--accent2); }
.dark .tagchip { background: rgba(255,255,255,.05); border-color: rgba(165,180,252,.18); color: #e0e7ff; }

/* tech stack */
.stack { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.stack .layer { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: all .4s var(--ease); }
.stack .layer:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stack .layer h4 { margin: 14px 0 10px; font-size: .98rem; }
.stack .layer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .86rem; color: var(--muted); }
@media (max-width: 1024px) { .stack { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .stack { grid-template-columns: 1fr 1fr; } }

/* quote / note */
.note { display: flex; gap: 18px; align-items: flex-start; padding: 24px 28px; border-radius: 20px; background: color-mix(in srgb, var(--accent) 8%, white); border: 1px solid color-mix(in srgb, var(--accent) 25%, white); }
.note p { margin: 0; color: var(--ink-2); }

/* vision/mission */
.vm { padding: 46px; min-height: 100%; }
.vm h2 { font-size: 1.9rem; margin: 22px 0 14px; }
.vm p { font-size: 1.1rem; color: var(--ink-2); line-height: 1.75; }
.vm .quote { position: absolute; right: 26px; top: 20px; width: 90px; height: 90px; color: color-mix(in srgb, var(--accent2) 8%, transparent); }

/* footer */
.site-footer { background: var(--navy); color: #94a3c8; padding: 90px 0 0; position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: #6366f1; filter: blur(140px); opacity: .18; top: -300px; left: -200px; z-index: -1; }
.site-footer .logo { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
.foot-grid h5 { color: #fff; font: 700 .95rem var(--font-head); margin: 6px 0 18px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .92rem; }
.foot-grid a { transition: color .2s, padding .3s; }
.foot-grid a:hover { color: #fff; padding-left: 4px; }
.foot-about p { margin: 20px 0; font-size: .94rem; max-width: 340px; }
.foot-contact { display: grid; gap: 10px; font-size: .92rem; }
.foot-contact div { display: flex; gap: 10px; align-items: center; }
.foot-contact svg { width: 16px; height: 16px; color: var(--brand-1); flex-shrink: 0; }
.foot-bottom { margin-top: 60px; border-top: 1px solid rgba(165,180,252,.12); padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .86rem; }
.foot-bottom nav { display: flex; gap: 20px; }
@media (max-width: 1024px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

.to-top { position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; z-index: 90; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--brand-1), var(--brand-2)); box-shadow: 0 14px 30px -10px var(--brand-2); opacity: 0; transform: translateY(20px) scale(.8); transition: all .4s var(--ease); }
.to-top.show { opacity: 1; transform: none; }
.to-top svg { width: 22px; height: 22px; }
.to-top:hover { transform: translateY(-4px); }

/* responsive heroes */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding: 140px 0 110px; }
  .banner { padding: 150px 0 110px; min-height: 0; }
  .banner-overlay { background: linear-gradient(0deg, rgba(6,13,38,.95), rgba(6,13,38,.75)); }
  .section { padding: 80px 0; }
}
@media (max-width: 1180px) { .subnav { top: 76px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .draw svg * { stroke-dashoffset: 0; }
  .banner-media img { animation: none; }
}
