/* ───────────────────────────────────────────────────────────
   Canisys Corporate — design tokens & global styles
   Default palette: charcoal (warm cream + dark + orange accent)
   ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #F6F5F2;
  --bg-2:      #EDEAE3;
  --surface:   #FFFFFF;
  --ink:       #1A1D24;
  --ink-2:     #2A2E38;
  --ink-3:     #5C6373;
  --ink-4:     #9099AA;
  --line:      rgba(26,29,36,.08);
  --line-2:    rgba(26,29,36,.14);
  --primary:   #1A1D24;
  --accent:    #FF6B35;
  --accent-2:  #FF8A5C;
  --cta:       #1A1D24;
  --cta-ink:   #FFFFFF;
  --success:   #16A085;

  --font-display: 'Geist', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --max: 1240px;
  --pad: 40px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background-color: rgb(246, 245, 242);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(255,107,53,.2); color: var(--ink); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--ink-4); border-radius: 5px; border: 2px solid var(--bg); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ─── Animations ──────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes caseFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes tileSettle {
  0%   { opacity: 0; transform: translate(var(--from-x), var(--from-y)) rotate(var(--from-r)); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translate(0, 0) rotate(0); }
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }



/* ─── Hero ────────────────────────────────────────────────── */
.hero { padding: 130px 0 80px; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 70%, var(--surface) 100%); }
.hero-grid { display: block; position: relative; }
.hero-content { position: relative; z-index: 2; max-width: 620px; padding-right: 40px;
  background: linear-gradient(100deg, rgba(246,245,242,.95) 0%, rgba(246,245,242,.82) 60%, transparent 100%); }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 4vw, 78px); line-height: 1.02; letter-spacing: -.035em; color: var(--ink); margin-bottom: 28px; animation: fadeUp .8s .1s ease both; }
.hero h1 .accent { color: var(--accent); }
.rotator { display: inline-block; color: var(--accent); position: relative; vertical-align: baseline; min-height: 1.02em; }
.rotator-track { display: inline-block; transition: opacity .35s ease, transform .35s ease; }
.rotator-track.out { opacity: 0; transform: translateY(8px); }
.hero .lede { max-width: 540px; font-size: 17px; line-height: 1.65; color: var(--ink-3); margin-bottom: 36px; animation: fadeUp .8s .2s ease both; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; animation: fadeUp .8s .3s ease both; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 600; box-shadow: 0 4px 20px rgba(10,30,63,.25); transition: background .15s, transform .15s; }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 8px; background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); font-size: 14.5px; font-weight: 600; transition: border-color .15s, background .15s; }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }
.hero-stats { margin-top: 48px; display: flex; align-items: center; gap: 24px; animation: fadeUp .8s .4s ease both; }
.hero-stat-num { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.hero-stat-num small { font-size: 14px; color: var(--ink-3); font-weight: 700; }
.hero-stat-lbl { font-size: 11px; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.hero-visual { animation: fadeIn 1s .3s ease both; }

/* ─── Hero canvas / abstract network ──────────────────────── */
.hero-visual { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; background: transparent;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.38) 22%, rgba(0,0,0,.72) 44%, #000 64%, #000 100%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.38) 22%, rgba(0,0,0,.72) 44%, #000 64%, #000 100%); }
.hero-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: auto; }

/* ─── Puzzle ──────────────────────────────────────────────── */
.puzzle { position: relative; width: 100%; height: 560px; perspective: 1400px; }
.puzzle-bg-glow { position: absolute; inset: 0; background: radial-gradient(circle at 70% 50%, rgba(255,107,53,.10), transparent 55%), radial-gradient(circle at 30% 80%, rgba(26,29,36,.08), transparent 60%); }
.puzzle-grid { position: absolute; inset: 5% 5%; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); }
.puzzle-board { position: absolute; inset: 4% 4%; display: grid; grid-template-columns: repeat(10, 1fr); grid-template-rows: repeat(7, 1fr); gap: 10px; transform: rotateX(4deg) rotateY(-6deg); transform-style: preserve-3d; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(10,30,63,.10), 0 2px 6px rgba(10,30,63,.04); padding: 14px; opacity: 0; overflow: hidden; position: relative; animation: tileSettle .9s cubic-bezier(.2,1,.3,1) both; }
.tile-label { font-family: var(--font-mono); font-size: 9px; color: var(--ink-3); letter-spacing: .12em; font-weight: 600; }
.tile-h { display: flex; align-items: center; justify-content: space-between; }
.tile-stat { display: inline-block; font-size: 10px; color: var(--success); font-weight: 700; padding: 2px 7px; border-radius: 4px; background: rgba(22,160,133,.1); }
.tile-num { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.tile-num small { font-size: 14px; color: var(--ink-3); }
.tile-sub { font-size: 11px; color: var(--ink-3); margin-top: 4px; }
.tile-bars { display: flex; gap: 3px; align-items: flex-end; height: 24px; }
.tile-bars span { flex: 1; background: var(--bg-2); border-radius: 1.5px; }
.tile-bars span:last-child { background: var(--accent); }
.tile-rows { display: flex; flex-direction: column; gap: 5px; margin-top: 2px; }
.tile-row { display: flex; align-items: center; justify-content: space-between; }
.tile-row .n { font-size: 10.5px; color: var(--ink-2); font-weight: 500; }
.tile-row .s { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 9px; color: #16A085; font-weight: 600; }
.tile-row .s .dotg { width: 6px; height: 6px; border-radius: 50%; background: #16A085; }
.tile-avatar { display: flex; align-items: center; gap: 9px; height: 100%; }
.avatar-circle { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--primary)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 700; font-family: var(--font-display); }
.tile-name { font-size: 11px; font-weight: 600; color: var(--ink); }
.tile-role { font-size: 9.5px; color: var(--ink-3); }
.tile-chart { display: flex; flex-direction: column; height: 100%; }
.tile-chart-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.tile-chart-h .pill { font-size: 10px; color: var(--accent); font-weight: 700; }
.tile-chart svg { flex: 1; width: 100%; height: 100%; }
.tile-chart-axis { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 8px; color: var(--ink-4); margin-top: 4px; }
.tile-tasks { display: flex; flex-direction: column; gap: 5px; height: 100%; }
.tile-tasks-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.tile-tasks-h .count { font-size: 9px; color: var(--ink-4); }
.task { display: flex; align-items: center; gap: 7px; padding: 4px 0; }
.task .box { width: 13px; height: 13px; border-radius: 3px; border: 1.5px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: #fff; }
.task.done .box { background: var(--accent); border-color: var(--accent); }
.task .n { font-size: 11px; color: var(--ink-2); flex: 1; font-weight: 500; }
.task.done .n { color: var(--ink-3); text-decoration: line-through; }
.task.prog .n { font-weight: 600; }
.task .wip { font-size: 9px; font-weight: 700; color: var(--accent); font-family: var(--font-mono); }
.tile-code { height: 100%; background: var(--ink); border-radius: 8px; padding: 10px; overflow: hidden; font-family: var(--font-mono); }
.tile-code .cmnt { font-size: 9px; color: rgba(255,255,255,.4); margin-bottom: 6px; }
.tile-code .ln { font-size: 10px; line-height: 1.6; color: #fff; }
.tile-code .ln.i { padding-left: 10px; }
.tk-kw { color: #FF7B72; }
.tk-id { color: #79C0FF; }
.tk-fn { color: #D2A8FF; }
.tk-str { color: #A5D6FF; }
.tile-metric { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.tile-activity { display: flex; flex-direction: column; height: 100%; }
.tile-activity .h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.tile-activity .h .branch { font-size: 9px; color: var(--ink-4); }
.tile-activity .list { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tile-activity .row { display: flex; align-items: center; gap: 8px; }
.tile-activity .row .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.tile-activity .row .k { font-family: var(--font-mono); font-size: 10px; color: var(--ink-2); font-weight: 600; }
.tile-activity .row .v { font-size: 10.5px; color: var(--ink-3); flex: 1; }
.tile-activity .row .t { font-family: var(--font-mono); font-size: 9px; color: var(--ink-4); }
.puzzle-badge { position: absolute; top: 18px; right: 18px; background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: 10px; font-weight: 600; padding: 6px 10px; border-radius: 100px; letter-spacing: .08em; display: flex; align-items: center; gap: 8px; opacity: 0; animation: fadeIn .8s 1.6s ease both; }
.puzzle-badge .blink { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1.6s ease-in-out infinite; }

/* ─── Logo bar / marquee ──────────────────────────────────── */
.logobar { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.logobar .container { display: flex; align-items: center; gap: 36px; }
.logobar .label { flex-shrink: 0; }
.logobar .label .top { font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--ink-3); letter-spacing: .14em; text-transform: uppercase; }
.logobar .label .bot { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.logobar .vsep { height: 36px; flex-shrink: 0; }
.logo-track-wrap { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.logo-track span { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink-3); letter-spacing: .18em; white-space: nowrap; flex-shrink: 0; }

/* ─── Section heads ───────────────────────────────────────── */
.section { padding: 120px 0; background: var(--surface); }
.section.dark { background: var(--ink); color: #fff; }
.section.bg { background: var(--bg); }
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: flex-end; }
.kicker { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--accent); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.h2 { font-family: var(--font-display); font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; color: var(--ink); }
.section.dark .h2 { color: #fff; }
.sub { font-size: 15.5px; line-height: 1.65; color: var(--ink-3); max-width: 480px; margin-bottom: 18px; }
.head-link { font-size: 14px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }

/* ─── Services ────────────────────────────────────────────── */
.services-display { margin-top: 64px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.svc-card { display: block; padding: 42px 40px; background: transparent; transition: background .2s; position: relative; }
.svc-card:hover { background: var(--bg); }
.svc-card:not(:nth-child(-n+3)) { border-top: 1px solid var(--line); }
.svc-card:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
.svc-row { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.svc-icon { width: 44px; height: 44px; color: var(--ink); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.svc-icon svg { width: 32px; height: 32px; transition: transform .25s ease; }
.svc-card:hover .svc-icon svg { transform: scale(1.08); }
.svc-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; margin: 0; }
.svc-blurb { font-size: 15px; line-height: 1.65; color: var(--ink-3); margin-bottom: 24px; max-width: 480px; }
.svc-bullets { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.svc-bullets li { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line-2); border-radius: 20px; padding: 4px 12px 4px 9px; }
.svc-bullets li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.svc-explore { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent); opacity: .65; transition: opacity .2s, transform .2s; }
.svc-card:hover .svc-explore { opacity: 1; transform: translateX(4px); }

/* ─── Stats band ──────────────────────────────────────────── */
.stats { background: var(--ink); color: #fff; padding: 80px 0; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat { padding-top: 0; }
.stat .n { font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -.035em; line-height: 1; margin-bottom: 14px; }
.stat .n small { font-size: .55em; color: rgba(255,255,255,.7); }
.stat .l { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.stat .s { font-size: 13px; color: rgba(255,255,255,.55); }

/* ─── Industries (accordion) ──────────────────────────────── */
.industries-list { margin-top: 56px; border-top: 1px solid var(--line); }
.ind-item { border-bottom: 1px solid var(--line); overflow: hidden; transition: background .2s; }
.ind-item:hover { background: var(--bg); }
.ind-item.open { background: var(--bg); }
.ind-row { display: grid; grid-template-columns: 60px 1fr auto auto; align-items: center; gap: 24px; padding: 24px 28px; cursor: pointer; transition: padding .2s; }
.ind-row:hover { padding-left: 36px; }
.ind-item.open .ind-row { padding-left: 36px; }
.ind-row-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.ind-item.open .ind-row-icon { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.ind-row-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -.015em; }
.ind-row-tag { font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--ink-3); letter-spacing: .12em; padding: 5px 10px; border-radius: 100px; background: var(--surface); border: 1px solid var(--line); }
.ind-item.open .ind-row-tag { color: var(--accent); border-color: var(--accent); }
.ind-row-toggle { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink); transition: background .2s, color .2s, transform .25s; }
.ind-item.open .ind-row-toggle { background: var(--ink); color: var(--accent); border-color: var(--ink); transform: rotate(45deg); }
.ind-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.ind-item.open .ind-body { max-height: 380px; }
.ind-body-inner { padding: 4px 28px 32px 132px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.ind-body p { font-size: 15px; line-height: 1.65; color: var(--ink-3); margin-bottom: 18px; }
.ind-clients { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ind-clients span { padding: 5px 11px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--ink-2); }
.ind-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.ind-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.ind-stat .v { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -.025em; line-height: 1; }
.ind-stat .k { font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--ink-3); letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }

/* (legacy classes kept for reference, not used) */
.industries-grid { display: none; }
.ind-feat { grid-row: 1 / 3; grid-column: 1; background: linear-gradient(155deg, var(--primary), var(--accent)); border-radius: 18px; padding: 36px; color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.ind-feat::after { content: ''; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); }
.ind-feat-content, .ind-feat-foot { position: relative; }
.ind-feat .badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 100px; background: rgba(255,255,255,.14); font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .1em; margin-bottom: 24px; }
.ind-feat h3 { font-family: var(--font-display); font-size: 34px; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 14px; max-width: 320px; }
.ind-feat p { font-size: 15px; color: rgba(255,255,255,.78); line-height: 1.6; max-width: 380px; }
.ind-feat-foot { display: flex; align-items: center; justify-content: space-between; }
.ind-feat-clients { display: flex; gap: 10px; flex-wrap: wrap; }
.ind-feat-clients span { padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,.14); font-size: 11px; font-weight: 600; font-family: var(--font-mono); letter-spacing: .04em; }
.ind-feat-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }

.ind-card { background: var(--bg); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); transition: background .15s, border-color .15s; }
.ind-card:hover { background: var(--surface); border-color: var(--ink); }
.ind-card-h { display: flex; align-items: flex-start; justify-content: space-between; }
.ind-card-icon { width: 40px; height: 40px; border-radius: 9px; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--ink); border: 1px solid var(--line); }
.ind-card-tag { font-family: var(--font-mono); font-size: 9px; font-weight: 600; color: var(--ink-3); letter-spacing: .1em; padding: 3px 7px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); }
.ind-card h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin-bottom: 6px; }
.ind-card p { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }

/* ─── Tech ribbon ─────────────────────────────────────────── */
.tech { background: var(--bg); padding: 88px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tech-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 36px; }
.tech-head h2 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.tech-rows { display: flex; flex-direction: column; gap: 14px; }
.tech-row { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.tech-track { display: flex; gap: 12px; width: max-content; animation: marquee 110s linear infinite; }
.tech-track.rev { animation-duration: 130s; animation-direction: reverse; }
.tech-rows:hover .tech-track { animation-play-state: paused; }
.tech-pill { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); flex-shrink: 0; white-space: nowrap; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -.005em; }

/* ─── Case studies ────────────────────────────────────────── */
.cs-tabs::-webkit-scrollbar {
  height: 6px;   /* horizontal scrollbar */
  width: 6px;    /* vertical scrollbar */
}

.cs-tabs::-webkit-scrollbar-track {
  background: transparent;
}

.cs-tabs::-webkit-scrollbar-thumb {
  background-color: #FF6B35;
  border-radius: 10px;
}

.cs-tabs::-webkit-scrollbar-thumb:hover {
  background-color: #e85f2f;
}
.cs-tabs { margin-top: 56px; display: flex; gap: 8px; overflow-y:hidden; overflow-x:auto; border-bottom: 1px solid var(--line); padding-bottom: 0;  scrollbar-width: thin;   scrollbar-color: #FF6B35 transparent; }
.cs-tab { border: none; cursor: pointer; background: transparent; padding: 14px 4px; margin-right: 32px; text-align: left; position: relative; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: border-color .2s; flex-shrink:0; }
.cs-tab.on { border-bottom-color: var(--ink); }
.cs-tab .cat { font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--ink-4); letter-spacing: .14em; margin-bottom: 4px; }
.cs-tab.on .cat { color: var(--accent); }
.cs-tab .client { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink-3); letter-spacing: -.01em; }
.cs-tab.on .client { color: var(--ink); }

.cs-panel { margin-top: 24px; border-radius: 20px; overflow: hidden; color: #fff; display: grid; grid-template-columns: 1.05fr .95fr; animation: caseFade .55s ease both; position: relative; }
.cs-panel-bg { position: absolute; inset: 0; opacity: .55; }
.cs-left { position: relative; padding: 48px 48px 44px; }
.cs-right { position: relative; padding: 48px 48px 44px; border-left: 1px solid rgba(255,255,255,.15); display: flex; flex-direction: column; justify-content: space-between; }
.cs-meta { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 100px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; margin-bottom: 26px; }
.cs-title { font-family: var(--font-display); font-size: clamp(28px, 3vw, 42px); font-weight: 600; line-height: 1.1; letter-spacing: -.025em; margin-bottom: 28px; max-width: 520px; }
.cs-body { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 14px; font-size: 14px; line-height: 1.55; }
.cs-body .k { font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: rgba(255,255,255,.7); letter-spacing: .14em; padding-top: 3px; }
.cs-body .v { color: rgba(255,255,255,.92); }
.cs-tags { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 6px; }
.cs-tags span { padding: 5px 10px; border-radius: 6px; background: rgba(255,255,255,.14); font-family: var(--font-mono); font-size: 11px; font-weight: 600; }
.cs-cta { margin-top: 32px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 8px; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 700; transition: transform .15s; }
.cs-cta:hover { transform: translateY(-1px); }
.cs-outcomes { font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: rgba(255,255,255,.7); letter-spacing: .14em; margin-bottom: 18px; }
.cs-metrics { display: flex; flex-direction: column; gap: 36px; }
.cs-metric .v { font-family: var(--font-display); font-weight: 700; letter-spacing: -.035em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.cs-metric.large .v { font-size: clamp(48px, 5vw, 84px); }
.cs-metric .v { font-size: clamp(28px, 2.4vw, 40px); }
.cs-metric .l { font-size: 12.5px; color: rgba(255,255,255,.72); margin-top: 10px; max-width: 240px; line-height: 1.4; }
.cs-metric.large .l { font-size: 14px; }
.cs-metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cs-spark { margin-top: 28px; }

.cs-peeks { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cs-peek { cursor: pointer; text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; transition: transform .2s, border-color .2s, box-shadow .2s; position: relative; overflow: hidden; }
.cs-peek.on, .cs-peek:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(10,30,63,.08); }
.cs-peek::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(.15); transform-origin: left; transition: transform .35s ease; }
.cs-peek.on::before, .cs-peek:hover::before { transform: scaleX(1); }
.cs-peek-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cs-peek-h .n { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--accent); }
.cs-peek-h .c { font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--ink-4); letter-spacing: .1em; }
.cs-peek-client { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; line-height: 1.25; margin-bottom: 6px; }
.cs-peek-met { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }

/* ─── Process flow (horizontal) ───────────────────────────── */
.process-flow { margin-top: 56px; }
.pf-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: stretch; position: relative; }
.pf-step { position: relative; padding-right: 24px; }
.pf-step:last-child { padding-right: 0; }

.pf-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; position: relative; }
.pf-marker { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--ink); flex-shrink: 0; transition: background .25s, color .25s, transform .25s; z-index: 2; }
.pf-step:hover .pf-marker { background: var(--ink); color: var(--accent); transform: scale(1.05); }
.pf-week { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; color: var(--accent); letter-spacing: .14em; text-transform: uppercase; }

/* Connector line between markers */
.pf-head::after { content: ''; position: absolute; left: 56px; top: 22px; right: -8px; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--line-2)); z-index: 1; }
.pf-step:last-child .pf-head::after { display: none; }

.pf-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 20px; transition: transform .25s, box-shadow .25s, border-color .25s;  }
.pf-step:hover .pf-card { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(26,29,36,.08); border-color: var(--accent); }
.pf-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; line-height: 1.15; }
.pf-card p { font-size: 13.5px; line-height: 1.55; color: var(--ink-3); margin-bottom: 14px; }
.pf-deliv { list-style: none; display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.pf-deliv li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.pf-deliv li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ─── Testimonials ────────────────────────────────────────── */
.testimonial-card { background: var(--bg); border-radius: 24px; padding: 64px 72px; position: relative; border: 1px solid var(--line); min-height: 340px; }
.testimonial-grid { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: flex-start; }
.testimonial-quote { font-family: var(--font-display); font-size: 120px; font-weight: 700; color: var(--accent); line-height: .7; margin-bottom: -30px; letter-spacing: -.05em; }
.testimonial-body { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.02em; line-height: 1.35; color: var(--ink); max-width: 780px; animation: fadeUp .6s ease both; }
.testimonial-author { margin-top: 36px; display: flex; align-items: center; gap: 14px; }
.testimonial-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.testimonial-role { font-size: 13px; color: var(--ink-3); }
.testimonial-dots { display: flex; flex-direction: column; gap: 8px; }
.testimonial-dots button { width: 32px; height: 4px; border-radius: 2px; border: 0; background: var(--line-2); cursor: pointer; transition: background .15s; }
.testimonial-dots button.on { background: var(--ink); }

/* ─── Blogs ───────────────────────────────────────────────── */
.blogs-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.blog:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(10,30,63,.08); }
.blog-thumb { height: 180px; position: relative; overflow: hidden; }
.blog-thumb .idx { position: absolute; left: 22px; bottom: 18px; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 40px; letter-spacing: -.04em; line-height: 1; opacity: .9; }
.blog-thumb .cat { position: absolute; right: 18px; top: 18px; padding: 5px 10px; border-radius: 6px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: #fff; letter-spacing: .14em; }
.blog-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); margin-bottom: 12px; }
.blog h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; color: var(--ink); margin-bottom: 12px; }
.blog .exc { font-size: 13.5px; line-height: 1.6; color: var(--ink-3); margin-bottom: 18px; }
.blog .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent); }
.blogs-cta-wrap { margin-top: 48px; display: flex; justify-content: center; }
.blog-skeleton{
	height:320px;
	border-radius:20px;
	background:linear-gradient(
		90deg,
		#f1f1f1 25%,
		#e5e5e5 50%,
		#f1f1f1 75%
	);
	background-size:200% 100%;
	animation:blogLoading 1.2s infinite linear;
}

@keyframes blogLoading{
	0%{
		background-position:200% 0;
	}
	100%{
		background-position:-200% 0;
	}
}

@media(max-width:767px){

	.blog_loader{
		grid-template-columns:1fr;
	}

}

/* ─── FAQs ────────────────────────────────────────────────── */
.faqs-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faqs-side { position: sticky; top: 120px; }
.faqs-side h2 { font-family: var(--font-display); font-size: clamp(34px, 3.6vw, 52px); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; color: var(--ink); margin-bottom: 20px; }
.faqs-side p { font-size: 15px; line-height: 1.65; color: var(--ink-3); max-width: 340px; margin-bottom: 24px; }
.faqs-list { border-bottom: 1px solid var(--line); }
.faq { border-top: 1px solid var(--line); }
.faq button { width: 100%; cursor: pointer; background: transparent; border: none; padding: 26px 0; text-align: left; display: flex; align-items: center; gap: 24px; }
.faq .num { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--ink-4); letter-spacing: .14em; flex-shrink: 0; width: 36px; transition: color .2s; }
.faq.open .num { color: var(--accent); }
.faq .q { flex: 1; font-family: var(--font-display); font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; color: var(--ink); letter-spacing: -.015em; line-height: 1.3; }
.faq .toggle { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2); color: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s, color .2s, transform .25s; }
.faq.open .toggle { background: var(--ink); color: var(--cta-ink); transform: rotate(45deg); }
.faq .a { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .35s ease, opacity .25s ease, padding .25s ease; padding: 0 0 0 60px; }
.faq.open .a { max-height: 360px; opacity: 1; padding: 0 0 28px 60px; }
.faq .a p { font-size: 15px; line-height: 1.7; color: var(--ink-3); max-width: 760px; display:block;}

/* ─── Contact ─────────────────────────────────────────────── */
.contact { padding: 120px 0; background: var(--ink); color: #fff; }
.contact .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; }
.contact .kicker { color: var(--accent); }
.contact h2 { font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 60px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 24px; color: #fff; }
.contact .lede { font-size: 16.5px; color: rgba(255,255,255,.65); line-height: 1.65; max-width: 440px; margin-bottom: 40px; }
.contact-list { display: flex; flex-direction: column; gap: 18px; }
.contact-row { display: flex; align-items: baseline; gap: 24px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.contact-row.last { border-bottom: 0; }
.contact-row .k { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: rgba(255,255,255,.5); letter-spacing: .12em; text-transform: uppercase; min-width: 120px; }
.contact-row .v { font-size: 16px; font-weight: 500; }
.contact-row.last .v { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.85); }

.contact-form { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 36px; }
.contact-form form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label, #wpcf7-f436-o1 label { font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: rgba(255,255,255,.6); letter-spacing: .12em; text-transform: uppercase; }
.field input, .field textarea, #wpcf7-f436-o1 input, #wpcf7-f436-o1 textarea { background: transparent; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 12px 14px; color: #fff; font-family: var(--font-body); font-size: 14px; transition: border-color .15s; width:100%; }
.field input::placeholder, .field textarea::placeholder, #wpcf7-f436-o1 input::placeholder, #wpcf7-f436-o1 textarea::placeholder { color: rgba(255,255,255,.35); }
.field input:focus, .field textarea:focus, #wpcf7-f436-o1 input:focus, #wpcf7-f436-o1 textarea:focus { outline: none; border-color: var(--accent); }
.field textarea, #wpcf7-f436-o1 textarea { resize: vertical; }
.field-row, #wpcf7-f436-o1 .flex-conntainer { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-consent, .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: rgba(255,255,255,.55); }
.contact-consent input , .wpcf7-acceptance input{ margin-top: 3px; accent-color: var(--accent);}
.contact-consent a, .wpcf7-acceptance a { color: var(--cta-ink); border-bottom: 1px solid; }
.btn-cta , #wpcf7-f436-o1 .wpcf7-submit{ padding: 15px 24px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .15s, background .15s; }
.btn-cta:hover,  #wpcf7-f436-o1 .wpcf7-submit:hover { transform: translateY(-1px); background: var(--accent-2); }

#wpcf7-f436-o1 input, #wpcf7-f436-o1 textarea{
	margin-block: 8px;
}
.wpcf7-acceptance  .wpcf7-list-item-label{
	font-family: var(--font-body);
	text-transform:none;
	letter-spacing: 0;
    font-size: 12px;
}
#wpcf7-f436-o1 input[type="checkbox"]{
	width:auto ;
	margin: 3px 0px 0;
}
#wpcf7-f436-o1 .wpcf7 form .wpcf7-response-output{
	font-size:14px;
	text-align:center;
}
/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1080px) {
  .section-head, .contact .container, .faqs-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card:not(:nth-child(-n+3)) { border-top: 1px solid var(--line); }
  .svc-card:not(:nth-child(3n+1)) { border-left: none; }
  .svc-card:not(:nth-child(-n+2)) { border-top: 1px solid var(--line); }
  .svc-card:not(:nth-child(2n+1)) { border-left: 1px solid var(--line); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-about { grid-column: 1 / -1; }
  .blogs-grid, .stats .container { grid-template-columns: repeat(2, 1fr); }
  .pf-track { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .pf-track .pf-step:nth-child(2n) .pf-head::after { display: none; }
  .pf-step { padding-right: 0; }
  .cs-panel { grid-template-columns: 1fr; }
  .cs-right { border-left: none; border-top: 1px solid rgba(255,255,255,.15); }
  .testimonial-card { padding: 48px 32px; }
  .ind-body-inner { grid-template-columns: 1fr; gap: 24px; padding-left: 100px; }
}

@media (max-width: 720px) {
  :root { --pad: 24px; }
  .hero { padding-top: 100px; }
  .svc-grid, .footer-grid, .blogs-grid, .stats .container { grid-template-columns: 1fr; }
  .svc-card { border-left: none !important; }
  .svc-card + .svc-card { border-top: 1px solid var(--line); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-dots { flex-direction: row; }
  .section { padding: 80px 0; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  /* Industries on mobile */
  .ind-row { grid-template-columns: 44px 1fr auto; gap: 14px; padding: 18px 16px; }
  .ind-row-tag { display: none; }
  .ind-row-name { font-size: 17px; }
  .ind-body-inner { padding: 0 16px 24px 16px; grid-template-columns: 1fr; }
  /* Process flow stacks on mobile */
  .pf-track { grid-template-columns: 1fr; gap: 18px; }
  .pf-step { padding-right: 0; }
  .pf-head::after { display: none; }
}

